From f5208cf13b61b41ecd339546c2d076d0d098d1e5 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Wed, 17 Aug 2016 11:09:42 -0400 Subject: Updates to Caching - updates cache to use the cache dir as a linked representation of the build dir - fixing cache build/extract JIRA: APEX-325 Change-Id: I80bf67e5d55ca2e069ca72e6b47303368bda0433 Signed-off-by: Dan Radez --- build/undercloud.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/undercloud.sh') diff --git a/build/undercloud.sh b/build/undercloud.sh index 39885faf..d0bab527 100755 --- a/build/undercloud.sh +++ b/build/undercloud.sh @@ -40,7 +40,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --run-command "cd /usr/share && rm -rf openstack-tripleo-heat-templates && tar xzf opnfv-tht.tar.gz" \ --run-command "sed -i '/ControllerEnableCephStorage/c\\ ControllerEnableCephStorage: true' /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml" \ --run-command "sed -i '/ComputeEnableCephStorage/c\\ ComputeEnableCephStorage: true' /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml" \ - --run-command "curl http://download.opensuse.org/repositories/Openwsman/CentOS_CentOS-7/Openwsman.repo > /etc/yum.repos.d/wsman.repo" \ + --run-command "curl -f http://download.opensuse.org/repositories/Openwsman/CentOS_CentOS-7/Openwsman.repo > /etc/yum.repos.d/wsman.repo" \ --run-command "yum update -y openwsman*" \ --run-command "cp /usr/share/instack-undercloud/undercloud.conf.sample /home/stack/undercloud.conf && chown stack:stack /home/stack/undercloud.conf" \ --upload ../opnfv-environment.yaml:/home/stack/ \ @@ -63,7 +63,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \ -a undercloud_build.qcow2 # Add custom IPA to allow kernel params -wget https://raw.githubusercontent.com/trozet/ironic-python-agent/opnfv_kernel/ironic_python_agent/extensions/image.py +curl -fO https://raw.githubusercontent.com/trozet/ironic-python-agent/opnfv_kernel/ironic_python_agent/extensions/image.py python3 -c 'import py_compile; py_compile.compile("image.py", cfile="image.pyc")' # Add performance image scripts -- cgit 1.2.3-korg