training-guides/labs/config/scripts.network
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

10 lines
300 B
SYSTEMD

# Scripts for network 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 setup_neutron_network.sh
cmd snapshot_cycle "pre-installed"