1 $ clone.sh /tmp/test.img /tmp/new.img /dev/sda1 192.168.1.1 newmachine
4 104857600 bytes (105 MB) copied, 2.02821 s, 51.7 MB/s
6 $ guestfish -a /tmp/new.img -m /dev/sda1
8 Welcome to guestfish, the libguestfs filesystem interactive shell for
9 editing virtual machine filesystems.
11 Type: 'help' for help with commands
12 'quit' to quit the shell
14 ><fs> cat /etc/resolv.conf
15 nameserver 192.168.1.1
16 ><fs> cat /etc/HOSTNAME