Add osbash/Vagrant-specific configuration files

This changeset adds two configuration files, one for osbash and one for
Vagrant.

They contain the names of the VirtualBox shared folder and the
shell user. For osbash, there are some additional variables.

These config files could presumably be moved outside of the config
directory or disappear entirely, because there seems to be little
benefit in having these variables configurable.

Partial-Bug: 1312764
Implements: blueprint openstack-training-labs
Change-Id: Ieb0928debee463ef7211dae679ac38a6702ad084
This commit is contained in:
Roger Luethi 2014-06-17 12:29:25 +02:00
parent 8c7bbe82be
commit ab3f50ba42
2 changed files with 27 additions and 0 deletions

19
labs/config/deploy.osbash Normal file
View File

@ -0,0 +1,19 @@
# Used by osbash.sh and guest scripts
: ${VM_BASE_NAME:=base}
# Port used for ssh forwarding when building base disk
: ${VM_BASE_SSH_PORT:=2229}
: ${OSBASH_LIB_DIR:=$LIB_DIR/osbash}
: ${OSBASH_SCRIPTS_DIR:=$SCRIPTS_DIR/osbash}
: ${TEMPLATE_DIR:=$LIB_DIR/osbash/templates}
# Name of VirtualBox shared folder
: ${SHARE_NAME:=osbash}
# Note: shell user name and password are set in preseed.cfg
VM_SHELL_USER=osbash
# vim: set ai ts=4 sw=4 et ft=sh:

View File

@ -0,0 +1,8 @@
# Used by guest scripts
# Name of VirtualBox shared folder
SHARE_NAME=vagrant
VM_SHELL_USER=vagrant
# vim: set ai ts=4 sw=4 et ft=sh: