Merge "labs: split wait_for_shutdown off from boot"
This commit is contained in:
commit
dcb47407a2
@ -3,4 +3,5 @@ scripts setup_nova_compute.sh
|
||||
scripts setup_neutron_compute.sh
|
||||
scripts shutdown.sh
|
||||
boot
|
||||
wait_for_shutdown
|
||||
snapshot "pre-installed"
|
||||
|
@ -10,4 +10,6 @@ scripts setup_cinder_volumes.sh
|
||||
scripts setup_horizon.sh
|
||||
scripts shutdown.sh
|
||||
boot
|
||||
wait_for_shutdown
|
||||
snapshot "pre-installed"
|
||||
boot
|
||||
|
@ -1,4 +1,5 @@
|
||||
# Scripts for network node
|
||||
scripts shutdown.sh
|
||||
boot
|
||||
wait_for_shutdown
|
||||
snapshot "pre-installed"
|
||||
|
@ -4,4 +4,5 @@ osbash enable_vagrant_ssh_keys.sh
|
||||
#osbash wait_debug.sh
|
||||
scripts shutdown.sh
|
||||
boot
|
||||
wait_for_shutdown
|
||||
snapshot "Network configured."
|
||||
|
@ -279,6 +279,9 @@ function autostart_from_config {
|
||||
# Format: snapshot "Description for snapshot"
|
||||
echo >&2 vm_snapshot "$NODE_NAME" "$field_2"
|
||||
vm_snapshot "$NODE_NAME" "$field_2"
|
||||
elif [ "$field_1" == "wait_for_shutdown" ]; then
|
||||
echo >&2 vm_wait_for_shutdown "$NODE_NAME"
|
||||
vm_wait_for_shutdown "$NODE_NAME"
|
||||
else
|
||||
# Queue a script for autostart
|
||||
# Format: <dircode> <script_name>
|
||||
|
@ -33,7 +33,6 @@ function _vbox_boot_with_autostart {
|
||||
|
||||
wait_for_autofiles
|
||||
echo >&2 "VM \"$VM\": autostart files executed"
|
||||
vm_wait_for_shutdown "$VM"
|
||||
}
|
||||
|
||||
function vm_build_node {
|
||||
|
Loading…
x
Reference in New Issue
Block a user