Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > f16a7b30a7d0d1e72cdef1591b15327f > files > 8

guestfish-1.8.15-1.fc14.x86_64.rpm

$ clone.sh /tmp/test.img /tmp/new.img /dev/sda1 192.168.1.1 newmachine
204800+0 records in
204800+0 records out
104857600 bytes (105 MB) copied, 2.02821 s, 51.7 MB/s

$ guestfish -a /tmp/new.img -m /dev/sda1

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for a list of commands
      'man' to read the manual
      'quit' to quit the shell

><fs> cat /etc/resolv.conf
nameserver 192.168.1.1
><fs> cat /etc/HOSTNAME
newmachine