Skip to content
Snippets Groups Projects
Commit dc85fda0 authored by Paul Bourke's avatar Paul Bourke
Browse files

Add a tip at the end of tools/init-runonce

Give the user an easy to run way to test their deploy after running
init-runonce.

TrivialFix

Change-Id: I7d984433c8f1b56d0b74be06b3e411044e897790
parent bac19675
No related branches found
No related tags found
No related merge requests found
......@@ -98,3 +98,19 @@ if ! openstack flavor list | grep -q m1.tiny; then
openstack flavor create --id 4 --ram 8192 --disk 80 --vcpus 4 m1.large
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.
To deploy a demo instance, run:
openstack server create \\
--image cirros \\
--flavor m1.tiny \\
--key-name mykey \\
--nic net-id=${DEMO_NET_ID} \\
demo1
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment