training-guides/labs/config/scripts.controller
Roger Luethi 073e2f1a98 labs: add snapshot_cycle command
This changeset adds the new command, snapshot_cycle. It can be used to
replace four lines that often go together. The command handles a full
cycle needed for a snapshot: queueing shutdown.sh, booting the VM,
waiting for it to shutdown, and taking a snapshot.

Change-Id: I13276088bd44326f475bf7477ad2ed27db2dbbe9
2014-08-26 19:29:56 +02:00

22 lines
643 B
Plaintext

# Scripts for controller node
cmd init_node
scripts etc_hosts.sh
osbash enable_vagrant_ssh_keys.sh
#osbash wait_debug.sh
# Using scripts/osbash/shutdown.sh because we want Vagrant to ignore this
cmd snapshot_cycle "network_configured"
scripts apt_install_mysql.sh
scripts install_rabbitmq.sh
scripts setup_keystone.sh
scripts setup_glance.sh
scripts setup_nova_controller.sh
scripts setup_neutron_controller.sh
scripts setup_cinder_controller.sh
scripts setup_cinder_volumes.sh
scripts setup_horizon.sh
scripts config_external_network.sh
scripts config_demo_user.sh
scripts config_tenant_network.sh
cmd snapshot_cycle "pre-installed"
cmd boot