Files
training-guides/labs/config/paths
Roger Luethi 949110d114 Add path configuration file
This file is used by all scripts to find the directories for the files
they read or write. They find this file as "$TOP_DIR/config/paths".

Partial-Bug: 1312764
Implements: blueprint openstack-training-labs
Change-Id: Ia63b8489c66acf174f3b3850d24fd7c6108f59b4
2014-06-17 14:52:55 +02:00

34 lines
1008 B
Bash

# This file is used by all scripts to find the directories for the files they
# read or write. They find this file as "$TOP_DIR/config/paths".
# Configuration files
: ${CONFIG_DIR:=$TOP_DIR/config}
# Installation ISO images, basedisk images, exported VM cluster images, etc.
#
# TODO(rluethi): merge these directories in the code, the option to have them
# in separate directories doesn't seem very useful
: ${DISK_DIR:=$TOP_DIR/img}
: ${IMG_DIR:=$TOP_DIR/img}
: ${ISO_DIR:=$TOP_DIR/img}
# Code libraries, templates, preseed/kickstart files
: ${LIB_DIR:=$TOP_DIR/lib}
# Log files
: ${LOG_DIR:=$TOP_DIR/log}
# Status files (progress indicator for running scripts)
: ${STATUS_DIR:=$LOG_DIR/status}
# Scripts that run within the basedisk and node VMs
: ${SCRIPTS_DIR:=$TOP_DIR/scripts}
# Directory shared with VM guest
: ${SHARE_DIR:=$TOP_DIR}
# Autostart directory; files placed here are executed within the VM
: ${AUTOSTART_DIR:=$SHARE_DIR/autostart}
# vim: set ai ts=4 sw=4 et ft=sh: