summaryrefslogtreecommitdiffstats
path: root/regressions/rhbz503169c13.sh
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-22 10:42:58 +0100
committerRichard Jones <rjones@redhat.com>2010-04-22 18:07:11 +0100
commit4a9b979a3199dfef64a342f05d666da540203a7c (patch)
tree1320fe9abd9f4dd09816ac337b40285e05876d54 /regressions/rhbz503169c13.sh
parent89486c50eaeb8b1cc5a6ff388cb47e859f8565d1 (diff)
downloadlibguestfs-4a9b979a3199dfef64a342f05d666da540203a7c.tar.gz
libguestfs-4a9b979a3199dfef64a342f05d666da540203a7c.tar.xz
libguestfs-4a9b979a3199dfef64a342f05d666da540203a7c.zip
fish: Add -N option for making prepared disk images.
Previously you might have typed: $ guestfish ><fs> alloc test1.img 100M ><fs> run ><fs> part-disk /dev/sda mbr ><fs> mkfs ext4 /dev/sda1 now you can do the same with: $ guestfish -N fs:ext4 Some tests have also been updated to use this new functionality.
Diffstat (limited to 'regressions/rhbz503169c13.sh')
-rwxr-xr-xregressions/rhbz503169c13.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/regressions/rhbz503169c13.sh b/regressions/rhbz503169c13.sh
index 1b19cdf3..a1a84c62 100755
--- a/regressions/rhbz503169c13.sh
+++ b/regressions/rhbz503169c13.sh
@@ -28,12 +28,7 @@ set -e
rm -f test1.img
-../fish/guestfish <<EOF
-sparse test1.img 10M
-run
-part-disk /dev/sda mbr
-mkfs ext2 /dev/sda1
-mount-options "" /dev/sda1 /
+../fish/guestfish -N fs -m /dev/sda1 <<EOF
mkdir /dev
-command /ignore-this-error
unmount-all