diff options
author | Bill Peck <bpeck@redhat.com> | 2014-06-19 10:53:43 -0400 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2014-06-19 10:53:43 -0400 |
commit | 771903df15057e42d947ab186205da93c26d7219 (patch) | |
tree | 08df61a90a508e12ee23bef73ea867a62896b5f2 | |
parent | 82a38577237a79e2f4ee8e95541a3f31861b602d (diff) | |
download | tests-771903df15057e42d947ab186205da93c26d7219.tar.gz tests-771903df15057e42d947ab186205da93c26d7219.tar.xz tests-771903df15057e42d947ab186205da93c26d7219.zip |
Simply add to kernel command line.
-rwxr-xr-x | distribution/virt/import/runtest.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distribution/virt/import/runtest.sh b/distribution/virt/import/runtest.sh index 8a83592..e97beca 100755 --- a/distribution/virt/import/runtest.sh +++ b/distribution/virt/import/runtest.sh @@ -77,7 +77,8 @@ function ChangeBootArgs () mount $BOOT /mnt/boot # Change recipeid if [ -e "/mnt/boot/grub/grub.conf" ]; then - sed -i "s/\(BEAKER_RECIPE_ID=\)[^ ]*/\1$GUESTRECIPEID/" /mnt/boot/grub/grub.conf + sed -i "s/\$/ BEAKER_RECIPE_ID=$GUESTRECIPEID/" /mnt/boot/grub/grub.conf + sed -i "s|\$| BEAKER_LAB_CONTROLLER_URL=$BEAKER_LAB_CONTROLLER_URL|" /mnt/boot/grub/grub.conf fi umount /mnt/boot kpartx -d /dev/loop0 |