diff options
author | Dan Radez <dradez@redhat.com> | 2016-08-17 11:09:42 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-12-01 08:42:27 -0500 |
commit | f5208cf13b61b41ecd339546c2d076d0d098d1e5 (patch) | |
tree | 61e42480291e26e42bb55de67c4620b0c2dc5a0d /build/undercloud.sh | |
parent | 199e92bf52cc75046eb41daa917bf91a65708c9f (diff) |
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 <dradez@redhat.com>
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-x | build/undercloud.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |