training-guides/labs/config/scripts.compute
Roger Luethi 7e1864c7ba labs: add init_node command
This changeset adds a new init_node command for config/scripts.* and
uses it to merge scripts.nodeinit_osbash and scripts.nodeinit_vagrant
into the node specific config/scripts.*.

This results in some redundancy, but it (hopefully) makes the script
configuration easier to follow. It also makes the initial creation and
configuration of the VM just another step that can be picked or omitted
from script configuration.

Implements: blueprint openstack-training-labs
Change-Id: Ieadfe2b9540710556100051723e3e6f08855efa3
2014-08-20 13:02:29 +02:00

17 lines
419 B
Plaintext

# Scripts for compute 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
osbash shutdown.sh
cmd boot
cmd wait_for_shutdown
cmd snapshot "network_configured"
scripts setup_nova_compute.sh
scripts setup_neutron_compute.sh
scripts shutdown.sh
cmd boot
cmd wait_for_shutdown
cmd snapshot "pre-installed"