summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-06-08 18:46:13 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-08 18:46:13 +0000
commitca415535b66e48f11fb24e3ce4266afbcc280d5b (patch)
tree6811abd1d61634705819f2743fac7fdad2d943e7 /build/undercloud.sh
parent5883b243f92f33e4743f3692d25604b86daf0c5a (diff)
parentc7fd00092d47da0f0f7f43bae159a2ec36294ea5 (diff)
Merge "Fixes setting kernel boot arguments with perf options"
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-xbuild/undercloud.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index 04c2667f..f2e98795 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -70,9 +70,15 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--upload ../virtual-environment.yaml:/home/stack/ \
-a undercloud.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
+python3.4 -c 'import py_compile; py_compile.compile("image.py", cfile="image.pyc")'
+
# Add performance image scripts
LIBGUESTFS_BACKEND=direct virt-customize --upload ../build_perf_image.sh:/home/stack \
--upload ../set_perf_images.sh:/home/stack \
+ --upload image.py:/root \
+ --upload image.pyc:/root \
-a undercloud.qcow2
popd > /dev/null