summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-06-08 21:07:31 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-08 21:07:31 +0000
commitcb503a62f938187a57bcea7565760a50b52a0c90 (patch)
tree33c2818d53243beef346778c3afadcb9a1f3288a /ci
parentca415535b66e48f11fb24e3ce4266afbcc280d5b (diff)
parent5df1ac0a14075d708c89d35705097a83340cd424 (diff)
Merge "Add custom domain file for virtual deploy"
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 83dc4222..1a84421e 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -575,6 +575,12 @@ EOF
"ssh-user": "root"
}
EOF
+ #Overwrite the tripleo-inclubator domain.xml with our own, keeping a backup.
+ if [ ! -f /usr/share/tripleo/templates/domain.xml.bak ]; then
+ /usr/bin/mv -f /usr/share/tripleo/templates/domain.xml /usr/share/tripleo/templates/domain.xml.bak
+ fi
+
+ /usr/bin/cp -f $LIB/installer/domain.xml /usr/share/tripleo/templates/domain.xml
}
##Create virtual nodes in virsh