Make infra_version.js option and fix base image on DO

This commit is contained in:
Johannes Zellner
2016-08-10 12:45:23 +02:00
parent 855bc71ba7
commit 65994f307f
3 changed files with 17 additions and 8 deletions

View File

@@ -138,7 +138,7 @@ cd "${SOURCE_DIR}"
git archive --format=tar HEAD | $ssh22 "root@${server_ip}" "cat - > /tmp/box.tar.gz"
echo "Executing init script"
if ! $ssh22 "root@${server_ip}" "/bin/bash /root/initializeBaseUbuntuImage.sh ${installer_revision}"; then
if ! $ssh22 "root@${server_ip}" "/bin/bash /root/initializeBaseUbuntuImage.sh ${installer_revision} caas"; then
echo "Init script failed"
exit 1
fi