training-guides/labs/config/scripts.controller
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

26 lines
863 B
Plaintext

# Scripts for controller node
cmd init_node
cmd queue etc_hosts.sh
cmd queue osbash/enable_vagrant_ssh_keys.sh
cmd snapshot_cycle "network_configured"
cmd queue apt_install_mysql.sh
cmd queue install_rabbitmq.sh
cmd snapshot_cycle "pre-openstack_installed"
cmd queue setup_keystone.sh
cmd snapshot_cycle "keystone_installed"
cmd queue setup_glance.sh
cmd snapshot_cycle "glance_installed"
cmd queue setup_nova_controller.sh
cmd snapshot_cycle "nova-controller_installed"
cmd queue setup_neutron_controller.sh
cmd snapshot_cycle "neutron-controller_installed"
cmd queue setup_cinder_controller.sh
cmd snapshot_cycle "cinder_installed"
cmd queue setup_horizon.sh
cmd snapshot_cycle "horizon_installed"
cmd queue config_external_network.sh
cmd queue config_demo_user.sh
cmd queue config_tenant_network.sh
cmd snapshot_cycle "openstack-controller_installed"
cmd boot