Merge "Simplify init-runonce boot command"
This commit is contained in:
commit
767d0523d1
@ -128,8 +128,6 @@ if ! openstack flavor list | grep -q m1.tiny; then
|
||||
openstack flavor create --id 5 --ram 16384 --disk 160 --vcpus 8 m1.xlarge
|
||||
fi
|
||||
|
||||
DEMO_NET_ID=$(openstack network list | awk '/ demo-net / {print $2}')
|
||||
|
||||
cat << EOF
|
||||
|
||||
Done.
|
||||
@ -140,6 +138,6 @@ openstack server create \\
|
||||
--image ${IMAGE_NAME} \\
|
||||
--flavor m1.tiny \\
|
||||
--key-name mykey \\
|
||||
--nic net-id=${DEMO_NET_ID} \\
|
||||
--network demo-net \\
|
||||
demo1
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user