From 7021a234aa1496ca552ec82ff73747a302a1b80b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 26 Jan 2018 10:48:27 +0000 Subject: [PATCH] =?UTF-8?q?p2v:=20tests:=20Fix=20slow=20test=20=E2=80=98te?= =?UTF-8?q?st-virt-p2v-pxe.sh=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since virt-builder Fedora 27 templates now use GPT, the root filesystem has moved from /dev/sda3 to /dev/sda4. /dev/sda3 is now a swap device which could not be mounted as the root device, although systemd unhelpfully hides the error unless you run qemu interactively. I think this fixes commit a06e50e263d96e6759d6b8052f89bc06a99056ae. --- p2v/test-virt-p2v-pxe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2v/test-virt-p2v-pxe.sh b/p2v/test-virt-p2v-pxe.sh index 11d515dc1..ebb9ed853 100755 --- a/p2v/test-virt-p2v-pxe.sh +++ b/p2v/test-virt-p2v-pxe.sh @@ -74,7 +74,7 @@ username="$(id -un)" os="$(cd $d; pwd)" # The Linux kernel command line. -cmdline="root=/dev/sda3 ro console=ttyS0 printk.time=1 p2v.server=10.0.2.2 p2v.port=$port p2v.username=$username p2v.identity=file:///var/tmp/id_rsa p2v.name=windows p2v.o=local p2v.os=$os" +cmdline="root=/dev/sda4 ro console=ttyS0 printk.time=1 p2v.server=10.0.2.2 p2v.port=$port p2v.username=$username p2v.identity=file:///var/tmp/id_rsa p2v.name=windows p2v.o=local p2v.os=$os" # Run virt-p2v inside qemu. $qemu \