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

28 lines
732 B
Plaintext

# Scripts for controller 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 apt_install_mysql.sh
scripts install_rabbitmq.sh
scripts setup_keystone.sh
scripts setup_glance.sh
scripts setup_nova_controller.sh
scripts setup_neutron_controller.sh
scripts setup_cinder_controller.sh
scripts setup_cinder_volumes.sh
scripts setup_horizon.sh
scripts config_external_network.sh
scripts config_demo_user.sh
scripts config_tenant_network.sh
scripts shutdown.sh
cmd boot
cmd wait_for_shutdown
cmd snapshot "pre-installed"
cmd boot