training-guides/labs/config/scripts.network
Roger Luethi 578c593607 labs: take additional snapshots of controller node
Take a snapshot of the controller VM after installing the compute and
network nodes.

The configuration of compute and network nodes is largely saved in the
database running on the controller node, but until now these database
changes were not part of any snapshots. With this changeset, resetting
all nodes to the most recent snapshots restores a working cluster.

Change-Id: Ifd2ca144d176280bc6677a2e6381afb63a9feea3
2014-10-29 09:06:34 +01:00

14 lines
423 B
SYSTEMD

# Scripts for network node
cmd init_node
cmd queue etc_hosts.sh
cmd queue osbash/enable_vagrant_ssh_keys.sh
cmd snapshot_cycle network_configured
cmd queue setup_neutron_network.sh
cmd snapshot_cycle network_node_installed
# Take snapshot of changes on controller VM, too
cmd queue shutdown_controller.sh
cmd boot
cmd wait_for_shutdown -n controller
cmd snapshot -n controller network_node_installed
cmd boot -n controller