Roger Luethi 8c7bbe82be Enable autostart in osbash
This change enables autostart functionality for osbash.

activate_autostart is called by a minimal script written by
preseed/kickstart files (if configured).

It creates (and grants sudo privileges to) the osbash user if
that has not been done by preseed/kickstart.

It uses template-osbashauto to generate /etc/init.d/osbashauto and
configures the system to run the script immediately and during every
subsequent system boot.

osbashauto iterates over all files in the autostart directory (in the
VirtualBox shared folder; filled by osbash from the host side) and
executes them as the osbash user. It writes its log files into the log
directory in the shared folder.

Partial-Bug: 1312764
Implements: blueprint openstack-training-labs
Change-Id: I0394c5ea4e3f75a9d9bee30d119e047a762e86ce
2014-06-17 11:25:59 +02:00
..
2014-06-17 11:25:59 +02:00
2014-06-16 16:55:23 +05:30

All scripts in this directory run within the VMs.

They install and configure OpenStack components and any other required software (such as databases).

Before these generic scripts run, scripts from the osbash (or vagrant, depending on the installation method) subdirectory set up the VM and configure basic networking.