From 2eaea7fdbbb95a00afb920f3381691cd67638d95 Mon Sep 17 00:00:00 2001 From: Michael Chapman Date: Wed, 1 Jun 2016 15:01:15 +1000 Subject: Fix performance option handling - Fix image name replacement in environments/numa.yaml in t-h-t - Accommodate patch to opnfv-tht disabling libvirt pinning by default. opnfv-tht-pr: 17 Change-Id: I4f45a120b236e8fbaa1eefd6da903d8f5e584764 Signed-off-by: Michael Chapman --- build/build_perf_image.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build/build_perf_image.sh') diff --git a/build/build_perf_image.sh b/build/build_perf_image.sh index 0a3e3d0f..50843e46 100644 --- a/build/build_perf_image.sh +++ b/build/build_perf_image.sh @@ -27,6 +27,8 @@ fi if [ "$CATEGORY" == "nova" ]; then if [ "$KEY" == "libvirtpin" ]; then sudo sed -i "s/#LibvirtCPUPinSet:.*/LibvirtCPUPinSet: '${VALUE}'/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + sudo sed -i "s/^#resource_registry:/resource_registry:/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + sudo sed -i "s/# {numa}/ OS::TripleO::ComputeExtraConfigPre: ..\/puppet\/extraconfig\/pre_deploy\/compute\/numa.yaml/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml fi fi -- cgit 1.2.3-korg