sandervanvugt

openstack feb21

Feb 4th, 2021
240
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. 21 history
  20. 22 vim answers.txt
  21. 23 ip a
  22. 24 cd /usr/share/openstack-puppet/modules/
  23. 25 ls
  24. 26 cd packstack/manifests/
  25. 27 ls
  26. 28 vim chrony.pp
  27. 29 cd
  28. 30 history
  29. 31 yum install -y git
  30. 32 git clone https://github.com/sandervanvugt/luth
  31. 33 cd luth/
  32. 34 ./countdown 14
  33. 35 cd /usr/share/openstack-puppet/modules/packstack/manifests/
  34. 36 vim chrony.pp
  35. 37 cd /etc/nova/
  36. 38 ls
  37. 39 vim nova.conf
  38. 40 cd /var/tmp/packstack/
  39. 41 ls
  40. 42 ls -lrt
  41. 43 cd 20210204-110502-i8_2yf9k/
  42. 44 ls
  43. 45 cd manifests/
  44. 46 ls
  45. 47 ls -lrt
  46. 48 cd
  47. 49 ls -lrt
  48. 50 cat keystonerc_admin
  49. 51 openstack user list
  50. 52 source keystonerc_admin
  51. 53 openstack user list
  52. 54 openstack service list
  53. 55 top
  54. 56 openstack endpoint list
  55. 57 openstack availability zone list --long
  56. 58 cd /var/tmp/packstack/
  57. 59 ls -lrt
  58. 60 cd latest/
  59. 61 ls
  60. 62 cd manifests/
  61. 63 ls -lrt
  62. 64 cd
  63. 65 cd /etc/nova/
  64. 66 ls -l
  65. 67 wc nova.conf
  66. 68 ip a
  67. 69 cd
  68. 70 cd -
  69. 71 ls
  70. 72 cd -
  71. 73 ls
  72. 74 cp /home/student/Downloads/myproject-openrc.sh .
  73. 75 less myproject-openrc.sh
  74. 76 luth/countdown 12
  75. 77 less answers.txt
  76. 78 vim answers.txt
  77. 79 openstack --help | less
  78. 80 openstack network --help | less
  79. 81 openstack network list
  80. 82 openstack network show extnet
  81. 83 luth/countdown 12
  82. 84 ping 192.168.29.241
  83. 85 ip a
  84. 86 ovs-vsctl show
  85. 87 ovs-vsctl show br-ex
  86. 88 ovsovsctl --help
  87. 89 ovs-vsctl --help
  88. 90 ovs-vsctl add-port br-ex ens33
  89. 91 ovs-vsctl show
  90. 92 ping 192.168.29.241
  91. 95 openstack server list
  92. 96 ls
  93. 97 source myproject-openrc.sh
  94. 98 openstack server list
  95. 99 openstack server status myinstance
  96. 100 ip netns
  97. 101 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ip a
  98. 102 openstack server list
  99. 103 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh 10.10.0.174
  100. 104 cd /home/student/Downloads/
  101. 105 l;s
  102. 106 ls
  103. 107 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh -i mykeypair.pem 10.10.0.174
  104. 108 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh -i mykeypair.pem [email protected]
  105. 109 openstack volume list
  106. 110 openstack volume show 84e6b279-005f-40b0-9e32-4b747bfc1d64
  107. 111 openstack volume create --size 2 my-volume1
  108. 112 openstack server add volume my-instance my-volume
  109. 113 openstack server add volume my-instance my-volume1
  110. 114 openstack server list
  111. 115 openstack server add volume myinstance my-volume1
  112. 116 ip netns exec ovnmeta-d871f3dc-8887-49a5-bc46-75cd99b4aaff ssh -i mykeypair.pem [email protected]
  113. 117 history
  114.  
Advertisement
Add Comment
Please, Sign In to add comment