diff options
author | Tim Rozet <trozet@redhat.com> | 2016-06-06 17:34:53 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-06-08 11:15:12 -0400 |
commit | c7fd00092d47da0f0f7f43bae159a2ec36294ea5 (patch) | |
tree | 3977139532ea164d8278265660cb0f16fab85cda /build/undercloud.sh | |
parent | 5c9c130fb9d6609ac1f0ebbf6945e63667c6b168 (diff) |
Fixes setting kernel boot arguments with perf options
JIRA: APEX-168
opnfv-tht-pr: 22
Change-Id: I224b16be24b34e245d22c9321ca94ebe52c52dfd
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-x | build/undercloud.sh | 6 |
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 |