summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-12-10 00:14:49 -0500
committerTim Rozet <trozet@redhat.com>2016-12-12 14:54:04 -0500
commitcd451be320c5efa92aec2f6a8fcd31e330dd2857 (patch)
tree711dc7d5a2243cd64c025a348cb852f34cf1ac97 /build/undercloud.sh
parent641f66d2790dc4155e758b17f311713fec01ea87 (diff)
Update networking-vpp packaging
- Change package to python-networking-vpp - Turn off autoreq for /bin/python - Update vpp to 17.01 - Disables undercloud package updating Change-Id: I9743e73ca9c36cc5162076580dc0a6b8861c7149 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-xbuild/undercloud.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index 5352ac7b..b830f312 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -37,6 +37,7 @@ python3 -c 'import py_compile; py_compile.compile("image.py", cfile="image.pyc")
# add tacker password to python-tripleoclient
# upload tacker repo and install the client package
# Add performance image scripts
+# hack for disabling undercloud package update
LIBGUESTFS_BACKEND=direct virt-customize \
--run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
--run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
@@ -70,6 +71,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--upload ${BUILD_ROOT}/set_perf_images.sh:/home/stack \
--upload ${BUILD_DIR}/image.py:/root \
--upload ${BUILD_DIR}/image.pyc:/root \
+ --run-command "sed -i '/pkg_upgrade_cmd =/c\\ \$pkg_upgrade_cmd =echo' /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp" \
-a undercloud_build.qcow2
mv -f undercloud_build.qcow2 undercloud.qcow2