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:
parent
269d59d62b
commit
a021803900
@ -5,4 +5,4 @@ osbash enable_vagrant_ssh_keys.sh
|
||||
scripts shutdown.sh
|
||||
boot
|
||||
wait_for_shutdown
|
||||
snapshot "Network configured."
|
||||
snapshot "network_configured"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user