labs: snapshot takes name, not description

The snapshot command as we use it now takes a name as an argument,
not a description. Update comment and snapshot name to reflect that.

Change-Id: Ie0b43b1816d89551af02b13575d6662242630c3a
Implements: blueprint openstack-training-labs
This commit is contained in:
Roger Luethi 2014-08-19 15:55:56 +02:00
parent 269d59d62b
commit a021803900
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ osbash enable_vagrant_ssh_keys.sh
scripts shutdown.sh
boot
wait_for_shutdown
snapshot "Network configured."
snapshot "network_configured"

View File

@ -276,7 +276,7 @@ function autostart_from_config {
echo >&2 _vbox_boot_with_autostart "$NODE_NAME" "$VM_SSH_PORT"
_vbox_boot_with_autostart "$NODE_NAME" "$VM_SSH_PORT"
elif [ "$field_1" == "snapshot" ]; then
# Format: snapshot "Description for snapshot"
# Format: snapshot <snapshot_name>
echo >&2 vm_snapshot "$NODE_NAME" "$field_2"
vm_snapshot "$NODE_NAME" "$field_2"
elif [ "$field_1" == "wait_for_shutdown" ]; then