[PATCH] examples/build-basic-vm.sh: Fix qemu-kvm example command
The commit 2a90bae2612297aa87ccfa7ff4823097ecee56fd(init: Require root=... parameter on kernel command line) introduces a new required command line parameter. This commit fix the command line example by adding the missing parameter. Sign-off-by: Cosmin Tupangiu <cosmin@redhat.com> --- examples/build-basic-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/build-basic-vm.sh b/examples/build-basic-vm.sh index 76e9f4f..1029690 100755 --- a/examples/build-basic-vm.sh +++ b/examples/build-basic-vm.sh @@ -75,7 +75,7 @@ echo echo "To run the full appliance, use a command such as:" echo " qemu-kvm -m 512 -kernel kernel -initrd initrd \\" -echo " -append 'vga=773 selinux=0' \\" +echo " -append 'vga=773 selinux=0 root=/dev/vda' \\" echo " -drive file=root,format=raw,if=virtio" echo -- 2.45.2
On Thu, Jul 11, 2024 at 05:18:57PM +0200, Cosmin Tupangiu wrote:
The commit 2a90bae2612297aa87ccfa7ff4823097ecee56fd(init: Require root=... parameter on kernel command line) introduces a new required command line parameter. This commit fix the command line example by adding the missing parameter.
Sign-off-by: Cosmin Tupangiu <cosmin@redhat.com> --- examples/build-basic-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/build-basic-vm.sh b/examples/build-basic-vm.sh index 76e9f4f..1029690 100755 --- a/examples/build-basic-vm.sh +++ b/examples/build-basic-vm.sh @@ -75,7 +75,7 @@ echo
echo "To run the full appliance, use a command such as:" echo " qemu-kvm -m 512 -kernel kernel -initrd initrd \\" -echo " -append 'vga=773 selinux=0' \\" +echo " -append 'vga=773 selinux=0 root=/dev/vda' \\" echo " -drive file=root,format=raw,if=virtio" echo
Thanks, that's upstream with some minor copyediting in commit 3b37f96 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
participants (2)
-
Cosmin Tupangiu -
Richard W.M. Jones