[Libguestfs] virt-sysprep on Windows Guest

Andrew Cathrow acathrow at redhat.com
Mon May 28 19:50:05 UTC 2012



----- Original Message -----
> From: "Wanlong Gao" <gaowanlong at cn.fujitsu.com>
> To: "Richard W.M. Jones" <rjones at redhat.com>
> Cc: "Libguestfs" <libguestfs at redhat.com>
> Sent: Friday, May 25, 2012 4:52:34 AM
> Subject: Re: [Libguestfs] virt-sysprep on Windows Guest
> 
> On 05/25/2012 04:47 PM, Richard W.M. Jones wrote:
> 
> > On Fri, May 25, 2012 at 03:52:53PM +0800, Wanlong Gao wrote:
> >> On 05/25/2012 03:46 PM, Richard W.M. Jones wrote:
> >>> Windows has a sysprep tool which does the right thing for all
> >>> Windows
> >>> guests, and it's impossible to know what that tool does or
> >>> replicate
> >>
> >>
> >> You mean it's not a Open Source project?
> > 
> > Definitely not.  In modern versions of Windows, it is included
> > (under
> > %systemroot%/System32/sysprep).  For older versions you had to
> > download it as a separate tool.

VMware has a quickprep feature for use cases that could do with a lighter version of sysprep

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2003797

> > 
> >>> it.  However it requires a multi-step process to run sysprep on a
> >>> guest, so we should make that easier for users if we can.
> >>
> >> Could you explain more detailedly to me since I'm not familiar
> >> with
> >> the stupid Windows system ?
> > 
> > It's pretty complicated.  Probably the best thing is to read
> > Microsoft's documentation on how to use it:
> > 
> > https://encrypted.google.com/search?q=sysprep+site:microsoft.com
> > 
> > in conjunction with the Oz code:
> > 
> > https://github.com/clalancette/oz/blob/win2k8customize/oz/Windows.py
> > 
> > It's not easy, which is why we haven't got around to doing it so
> > far.
> 
> 
> Yeah, I see, thank you.
> 
> Wanlong Gao
> 
> > 
> > Rich.
> > 
> 
> 
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs
> 




More information about the Libguestfs mailing list