configure: Move host_cpu definition to earlier in the file.
[libguestfs.git] / recipes / clone.example
1 $ clone.sh /tmp/test.img /tmp/new.img /dev/sda1 192.168.1.1 newmachine
2 204800+0 records in
3 204800+0 records out
4 104857600 bytes (105 MB) copied, 2.02821 s, 51.7 MB/s
5
6 $ guestfish -a /tmp/new.img -m /dev/sda1
7
8 Welcome to guestfish, the libguestfs filesystem interactive shell for
9 editing virtual machine filesystems.
10
11 Type: 'help' for help with commands
12       'quit' to quit the shell
13
14 ><fs> cat /etc/resolv.conf
15 nameserver 192.168.1.1
16 ><fs> cat /etc/HOSTNAME
17 newmachine