diff options
author | Feng Pan <fpan@redhat.com> | 2017-03-16 16:31:21 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2017-03-16 16:43:48 -0400 |
commit | 96013ac0328d2a4f54c6432e3900849db6c78d48 (patch) | |
tree | 5df45026e4be860e24090f989aa164820655da49 | |
parent | 59120f0ddd3ad84feab0ffb9defc185f73f910a5 (diff) |
Move modified enable_rt_kvm.yaml to .build directory
We should not be modifying files in our repo directly during build.
This patch moves the modified version of enable_rt_kvm.yaml into
$BUILD_DIR rather than modifying it in place.
Change-Id: Ibe160d0e5bc0f1d6633fde11de9f125ed49f58e2
Signed-off-by: Feng Pan <fpan@redhat.com>
-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 4e1b963a..424f6f86 100755 --- a/build/undercloud.sh +++ b/build/undercloud.sh @@ -25,7 +25,7 @@ git archive --format=tar.gz --prefix=openstack-tripleo-heat-templates/ HEAD > ${ popd > /dev/null # inject rt_kvm kernel rpm name into the enable file -sed -i "s/kvmfornfv_kernel.rpm/$kvmfornfv_kernel_rpm/" ${BUILD_ROOT}/enable_rt_kvm.yaml +sed "s/kvmfornfv_kernel.rpm/$kvmfornfv_kernel_rpm/" ${BUILD_ROOT}/enable_rt_kvm.yaml | tee ${BUILD_DIR}/enable_rt_kvm.yaml # installing forked opnfv-tht # enabling ceph OSDs to live on the controller @@ -52,7 +52,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --upload ${BUILD_ROOT}/opnfv-environment.yaml:/home/stack/ \ --upload ${BUILD_ROOT}/first-boot.yaml:/home/stack/ \ --upload ${BUILD_ROOT}/kvm4nfv-1st-boot.yaml:/home/stack/ \ - --upload ${BUILD_ROOT}/enable_rt_kvm.yaml:/home/stack/ \ + --upload ${BUILD_DIR}/enable_rt_kvm.yaml:/home/stack/ \ --upload ${BUILD_ROOT}/csit-environment.yaml:/home/stack/ \ --upload ${BUILD_ROOT}/virtual-environment.yaml:/home/stack/ \ --install "python2-congressclient" \ |