-#!/bin/sh -
+#!/bin/bash -
# libguestfs
# Copyright (C) 2009 Red Hat Inc.
#
set -e
rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=10
-../fish/guestfish -a test1.img <<EOF
-launch
-sfdisk /dev/sda 0 0 0 ,
-mkfs ext2 /dev/sda1
-mount /dev/sda1 /
+../fish/guestfish -N fs -m /dev/sda1 <<EOF
ll /../dev/console
ll /../dev/full
ll /../dev/mapper/