Advertisement
sandervanvugt

openstack feb21

Feb 4th, 2021
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. ip a
  2. 2 vim /etc/hosts
  3. 3 dnf install -y network-scripts
  4. 4 systemctl disable --now firewalld
  5. 5 systemctl disable --now NetworkManager
  6. 6 systemctl enable --now network
  7. 7 dnf config-manager --enable powertools
  8. 8 dng install -y centos-release-openstack-victoria
  9. 9 dnf install -y centos-release-openstack-victoria
  10. 10 dnf install -y openstack-packstack
  11. 11 dnf update -y
  12. 12 setenforce 0
  13. 13 vim /etc/sysconfig/selinux
  14. 14 reboot
  15. 15 packstack --gen-answer-file answers.txt
  16. 16 vim answers.txt
  17. 17 vim /usr/share/openstack-puppet/modules/packstack/manifests/chrony.pp
  18. 18 time packstack --answer-file /root/answers.txt
  19. 19 ssh root@192.168.122.123
  20. 20 ssh root@192.168.122.124
  21. 21 history
  22. 22 vim answers.txt
  23. 23 ip a
  24. 24 cd /usr/share/openstack-puppet/modules/
  25. 25 ls
  26. 26 cd packstack/manifests/
  27. 27 ls
  28. 28 vim chrony.pp
  29. 29 cd
  30. 30 history
  31. 31 yum install -y git
  32. 32 git clone https://github.com/sandervanvugt/luth
  33. 33 cd luth/
  34. 34 ./countdown 14
  35. 35 cd /usr/share/openstack-puppet/modules/packstack/manifests/
  36. 36 vim chrony.pp
  37. 37 cd /etc/nova/
  38. 38 ls
  39. 39 vim nova.conf
  40. 40 cd /var/tmp/packstack/
  41. 41 ls
  42. 42 ls -lrt
  43. 43 cd 20210204-110502-i8_2yf9k/
  44. 44 ls
  45. 45 cd manifests/
  46. 46 ls
  47. 47 ls -lrt
  48. 48 cd
  49. 49 ls -lrt
  50. 50 cat keystonerc_admin
  51. 51 openstack user list
  52. 52 source keystonerc_admin
  53. 53 openstack user list
  54. 54 openstack service list
  55. 55 top
  56. 56 openstack endpoint list
  57. 57 openstack availability zone list --long
  58. 58 cd /var/tmp/packstack/
  59. 59 ls -lrt
  60. 60 cd latest/
  61. 61 ls
  62. 62 cd manifests/
  63. 63 ls -lrt
  64. 64 cd
  65. 65 cd /etc/nova/
  66. 66 ls -l
  67. 67 wc nova.conf
  68. 68 ip a
  69. 69 cd
  70. 70 cd -
  71. 71 ls
  72. 72 cd -
  73. 73 ls
  74. 74 cp /home/student/Downloads/myproject-openrc.sh .
  75. 75 less myproject-openrc.sh
  76. 76 luth/countdown 12
  77. 77 less answers.txt
  78. 78 vim answers.txt
  79. 79 openstack --help | less
  80. 80 openstack network --help | less
  81. 81 openstack network list
  82. 82 openstack network show extnet
  83. 83 luth/countdown 12
  84. 84 ping 192.168.29.241
  85. 85 ip a
  86. 86 ovs-vsctl show
  87. 87 ovs-vsctl show br-ex
  88. 88 ovsovsctl --help
  89. 89 ovs-vsctl --help
  90. 90 ovs-vsctl add-port br-ex ens33
  91. 91 ovs-vsctl show
  92. 92 ping 192.168.29.241
  93. 93 ssh sander@192.168.50.131
  94. 94 ssh sander@192.168.50.171
  95. 95 openstack server list
  96. 96 ls
  97. 97 source myproject-openrc.sh
  98. 98 openstack server list
  99. 99 openstack server status myinstance
  100. 100 ip netns
  101. 101 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ip a
  102. 102 openstack server list
  103. 103 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh 10.10.0.174
  104. 104 cd /home/student/Downloads/
  105. 105 l;s
  106. 106 ls
  107. 107 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh -i mykeypair.pem 10.10.0.174
  108. 108 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh -i mykeypair.pem cirros@10.10.0.174
  109. 109 openstack volume list
  110. 110 openstack volume show 84e6b279-005f-40b0-9e32-4b747bfc1d64
  111. 111 openstack volume create --size 2 my-volume1
  112. 112 openstack server add volume my-instance my-volume
  113. 113 openstack server add volume my-instance my-volume1
  114. 114 openstack server list
  115. 115 openstack server add volume myinstance my-volume1
  116. 116 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh -i mykeypair.pem cirros@10.10.0.174
  117. 117 history
  118.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement