[rhos-list] Problem with Snapshots.

Richard W.M. Jones rjones at redhat.com
Wed Apr 10 17:17:01 UTC 2013


On Wed, Apr 10, 2013 at 04:04:00PM +0000, Minton, Rich wrote:
> My question is, is there a way to keep the second NIC from being
> created and have eth0 get the new hardware address? Should I delete
> the 70-persistent-net.rules file before creating the snapshot or is
> there an easier way?

To just delete the file you can do:

  guestfish -a /path/to/guest -i rm /etc/udev/rules.d/70-persistent-net.rules

See:

http://libguestfs.org/guestfs-recipes.1.html#delete-a-file-or-other-simple-file-operations-

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the rhos-list mailing list