[virt-tools-list] Suggestion for virt-sysprep - remove hostname in ifcfg-eth0

Richard W.M. Jones rjones at redhat.com
Sun Sep 2 18:42:03 UTC 2012


On Tue, Aug 28, 2012 at 09:32:28PM +0100, Paul Maunders wrote:
> Hi again,
> 
> When I run virt-sysprep on a virtual machine image, the virtual
> machine's hostname is preserved if it is also listed in ifcfg-eth0.
> 
> Currently virt-sysprep only removes the HOSTNAME from
> /etc/sysconfig/network. Should it be updated to also remove HOSTNAME
> entries from /etc/sysconfig/network-scripts/ifcfg-eth* also (in a
> similar way to HWADDR)?

Thanks -- added to the to-do list.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the virt-tools-list mailing list