X-Git-Url: http://git.annexia.org/?p=febootstrap.git;a=blobdiff_plain;f=examples%2Fguestfs-test.sh;h=f253969f6b3d3defa12c1ac09ca1ec382e50027d;hp=8092ff2ff6f7c1568f4ec00df7cee0520a32ebfd;hb=d42e3067d9fe488acd20a8db8c936fe3f53223e3;hpb=fd8f894830080d466e97b334f8c462dbc8e8baf3 diff --git a/examples/guestfs-test.sh b/examples/guestfs-test.sh index 8092ff2..f253969 100755 --- a/examples/guestfs-test.sh +++ b/examples/guestfs-test.sh @@ -25,7 +25,7 @@ if [ ! -e vmlinuz -o ! -e guest-image ]; then exit 1 fi -../febootstrap \ +febootstrap \ -i bash \ -i coreutils \ -i lvm2 \ @@ -36,7 +36,7 @@ fi fedora-10 ./guestfs $1 echo -n "Before minimization: "; du -sh guestfs -../febootstrap-minimize --all ./guestfs +febootstrap-minimize --all ./guestfs echo -n "After minimization: "; du -sh guestfs # Create the /init which will scan for and enable all LVM volume groups. @@ -59,11 +59,11 @@ __EOF__ chmod +x init } export -f create_init -../febootstrap-run ./guestfs -- bash -c create_init +febootstrap-run ./guestfs -- bash -c create_init # Convert the filesystem to an initrd image. -../febootstrap-to-initramfs ./guestfs > guestfs-initrd.img +febootstrap-to-initramfs ./guestfs > guestfs-initrd.img # Now run qemu to boot this guestfs system.