training-guides/labs/config/scripts.compute
Roger Luethi 35218beac6 labs: add and use new cmd: queue
Add a new command, queue, to replace the old syntax in config/scripts.*.
Convert all config files to use the new syntax.

Previously, the scripts used hardcoded directory code words: scripts
for $SCRIPTS_DIR, osbash for $SCRIPTS_DIR/osbash.

With the new syntax, the argument is just a relative path inside
$SCRIPTS_DIR. This makes it easier to add (e.g. distribution-specific)
directories.

The new syntax makes also explicit that the command is used to queue
files for later execution.

Change-Id: I414b05785ad322e82f3bf3a38f3374d0e6c45c6c
2014-10-03 16:04:56 +02:00

12 lines
337 B
Plaintext

# Scripts for compute node
cmd init_node
cmd queue etc_hosts.sh
cmd queue osbash/enable_vagrant_ssh_keys.sh
cmd snapshot_cycle "network_configured"
cmd queue setup_nova_compute.sh
cmd snapshot_cycle "nova-compute_installed"
cmd queue setup_neutron_compute.sh
cmd queue setup_cinder_volumes.sh
cmd snapshot_cycle "pre-installed"
cmd boot