diff options
| author | Jonathan Bauer | 2015-05-07 18:12:30 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2015-05-07 18:12:30 +0200 |
| commit | 46ba927a27fc6d6b2fc76096e57ae127c41b65b9 (patch) | |
| tree | 81225400b12967f7e1d0a2018fdfbf527baef69d /testModule/scripts/setup-qcow2 | |
| parent | added pids to log messages for better debugging (diff) | |
| download | systemd-init-46ba927a27fc6d6b2fc76096e57ae127c41b65b9.tar.gz systemd-init-46ba927a27fc6d6b2fc76096e57ae127c41b65b9.tar.xz systemd-init-46ba927a27fc6d6b2fc76096e57ae127c41b65b9.zip | |
started configuration stuff
Diffstat (limited to 'testModule/scripts/setup-qcow2')
| -rwxr-xr-x | testModule/scripts/setup-qcow2 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testModule/scripts/setup-qcow2 b/testModule/scripts/setup-qcow2 index 86b69db2..cc74457b 100755 --- a/testModule/scripts/setup-qcow2 +++ b/testModule/scripts/setup-qcow2 @@ -9,10 +9,13 @@ command -v emergency_shell >/dev/null || . /lib/dracut-lib.sh # # TODO make this configurable [ -f /opt/openslx/config ] && . /opt/openslx/config +[ -z $SLX_DNBD3_SERVER ] && SLX_DNBD3_SERVER="132.230.4.1" +[ -z $SLX_STAGE4 ] && SLX_STAGE4="stage4/joe/centos7" +[ -z $SLX_STAGE4_RID ] && SLX_STAGE4_RID="4" +declare -rg DNBD3_SERVER="$SLX_DNBD3_SERVER" +declare -rg DNBD3_IMAGE="$SLX_STAGE4" +declare -rg DNBD3_RID="$SLX_STAGE4_RID" declare -rg DNBD3_DEVICE="/dev/dnbd0" -declare -rg DNBD3_SERVER="132.230.4.1" -declare -rg DNBD3_IMAGE="stage4/joe/centos7" -declare -rg DNBD3_RID="4" declare -rg QCOW_CONTAINER="/opt/openslx/system/system.qcow2" # # END GLOBALS |
