Create Ubuntu symlink for backward compatibility
In case of ISO deployment there is a folders structure created from kickstart. On a pre-provisioned server we need to replocate some parts of this structure to maintain backward compatibility. Change-Id: Ie297aab0e088be3f752edca1e27e3a851bdb2073 Closes-Bug: #1572861
This commit is contained in:
parent
7c04102f8e
commit
7db860b9e6
|
@ -363,9 +363,12 @@ if [ ! -f "${ASTUTE_YAML}" ]; then
|
|||
fi
|
||||
|
||||
# Replace local repository for building bootstrap with online one
|
||||
# and create symlink for backward compatibility
|
||||
# if we run deployment on a pre-provisioned server
|
||||
[ ! -f /etc/fuel_build_id ] && \
|
||||
if [ ! -f /etc/fuel_build_id ]; then
|
||||
sed -i "s|127.0.0.1:8080/ubuntu/x86_64|mirror.fuel-infra.org/mos-repos/ubuntu/${FUEL_RELEASE}|g" "${ASTUTE_YAML}"
|
||||
ln -s ${wwwdir}/${OPENSTACK_VERSION}/ubuntu ${wwwdir}/ubuntu
|
||||
fi
|
||||
|
||||
# Enable sshd
|
||||
systemctl enable sshd
|
||||
|
|
Loading…
Reference in New Issue