Merge "Switch main bootstrap source repository to online one"

This commit is contained in:
Jenkins 2016-04-19 13:34:49 +00:00 committed by Gerrit Code Review
commit 9ab29a11a6
1 changed files with 5 additions and 0 deletions

View File

@ -369,6 +369,11 @@ if [ ! -f "${ASTUTE_YAML}" ]; then
fail
fi
# Replace local repository for building bootstrap with online one
# if we run deployment on a pre-provisioned server
[ ! -f /etc/fuel_build_id ] && \
sed -i "s|127.0.0.1:8080/ubuntu/x86_64|mirror.fuel-infra.org/mos-repos/ubuntu/${FUEL_RELEASE}|g" "${ASTUTE_YAML}"
# Enable sshd
systemctl enable sshd
systemctl start sshd