On Wed, Sep 19, Richard W.M. Jones wrote: > 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.
Looking at this, the code could detect 'opensuse', 'sle' (to catch SLES, SLED and SLERT), and suse_based. I will prepare a patch to implement that. Olaf _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs