Switch main bootstrap source repository to online one
In case of deploying Fuel Master node on a pre-provisioned server, we should use online repositories instead of local ones, to build the Ubuntu bootstrap. Change-Id: If4a5d8d715740289e85f8004a5655b35c25c9c6b Closes-Bug: #1570747
This commit is contained in:
parent
34accdd248
commit
831ec8267e
|
@ -372,6 +372,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
|
||||
|
|
Loading…
Reference in New Issue