diff options
author | Feng Pan <fpan@redhat.com> | 2016-06-01 15:02:35 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2016-06-02 21:10:29 +0000 |
commit | 374c0788c83a8384223dc75333422fc6d4a20b14 (patch) | |
tree | 0ee83ffe502cf6290beb7152929f21dc558b58d9 /build/build_perf_image.sh | |
parent | ae28031af48b31d909eaa9ea2290f578309e4000 (diff) |
Fix kernel parameter setting
We can use a single line command to change kernel parameters, it
is not necessary to have a script.
Change-Id: I8988464d9a84a223803c69e676483787de49b4ab
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/build_perf_image.sh')
-rw-r--r-- | build/build_perf_image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build_perf_image.sh b/build/build_perf_image.sh index 0a3e3d0f..6ca9fbf8 100644 --- a/build/build_perf_image.sh +++ b/build/build_perf_image.sh @@ -32,7 +32,7 @@ fi if [ "$CATEGORY" == "kernel" ]; then LIBGUESTFS_BACKEND=direct virt-customize \ - --run-command "bash -x /root/setkernelparam.sh $KEY $VALUE" \ + --run-command "grubby --update-kernel=ALL --args=$KEY=$VALUE" \ -a $IMAGE fi |