Fix undercloud.conf creation in ovb-instack

We were writing the file twice, which means most of our changes
were not taking effect.
This commit is contained in:
Ben Nemec 2017-05-25 10:16:21 -05:00
parent bbcd1a08d2
commit fdc1ff6551

View File

@ -19,13 +19,6 @@ git clone https://git.openstack.org/openstack-infra/tripleo-ci git-tripleo-ci
echo '#!/bin/bash' > tripleo.sh
echo 'git-tripleo-ci/scripts/tripleo.sh $@' >> tripleo.sh
chmod +x tripleo.sh
echo "[DEFAULT]" > undercloud.conf
echo "enable_telemetry = false" >> undercloud.conf
echo "enable_legacy_ceilometer_api = false" >> undercloud.conf
echo "enable_ui = false" >> undercloud.conf
echo "enable_validations = false" >> undercloud.conf
echo "enable_tempest = false" >> undercloud.conf
echo "local_mtu = 1450" >> undercloud.conf
export OVERCLOUD_PINGTEST_OLD_HEATCLIENT=0
export TRIPLEOSH=/home/centos/tripleo.sh
@ -35,6 +28,12 @@ $TRIPLEOSH --repo-setup
cat << EOF > undercloud.conf
[DEFAULT]
undercloud_hostname=undercloud.localdomain
enable_telemetry = false
enable_legacy_ceilometer_api = false
enable_ui = false
enable_validations = false
enable_tempest = false
local_mtu = 1450
EOF
$TRIPLEOSH --undercloud