[Libguestfs] [PATCH] sysprep: handle SuSE in hostname operation

Richard W.M. Jones rjones at redhat.com
Wed Sep 19 17:33:23 UTC 2012


On Wed, Sep 19, 2012 at 07:26:21PM +0200, Olaf Hering wrote:
> On Wed, Sep 19, Richard W.M. Jones wrote:
> 
> > I should add here this would require us to detect "sles".  I'm
> > not sure what SLES guests return right now, it could be "opensuse",
> > but I don't have a guest to test with.
> 
> Right now its still opensuse because the code just matches
> /etc/SuSE-release

We should probably differentiate between "opensuse" and "sles",
as we currently do with the various Fedora/RHEL/derivatives.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list