Install fuel-openstack-metadata before getting OPENSTACK_VERSION

We need to install fuel-openstack-metadata which provides
definition for $OPENSTACK_VERSION in bootstrap_admin_node

Change-Id: I6f7a1e7bee74191f7a7b51ede8f04361f4d318d4
Closes-bug: #1551659
This commit is contained in:
Sergey Kulanov 2016-03-02 12:11:32 +02:00
parent acc46cd3d0
commit b4a66463a7
1 changed files with 1 additions and 2 deletions

View File

@ -221,6 +221,7 @@ yum makecache
echo $BOOTSTRAP_PACKAGES | xargs -n1 yum install -y
# /etc/fuel_release is provided by 'fuel-release' package
FUEL_RELEASE=$(cat /etc/fuel_release)
echo $FUEL_PACKAGES | xargs -n1 yum install -y
# /etc/fuel_openstack_version is provided by 'fuel-openstack-metadata' package
OPENSTACK_VERSION=$(cat /etc/fuel_openstack_version)
@ -235,8 +236,6 @@ touch ${wwwdir}/${OPENSTACK_VERSION}/ubuntu/x86_64/images/initrd.gz
# Disable online base MOS repo if we run an ISO installation
[ -f /etc/fuel_build_id ] && yum-config-manager --disable mos${FUEL_RELEASE}-base --save
echo $FUEL_PACKAGES | xargs -n1 yum install -y
touch /var/lib/hiera/common.yaml /etc/puppet/hiera.yaml
# Be sure, that network devices have been initialized