On 05/25/2012 03:30 PM, Richard W.M. Jones wrote:
On Fri, May 25, 2012 at 01:47:53PM +0800, Wanlong Gao wrote:
> Hi Rich, folks,
>
> I wont to start doing the windows guest support for virt-sysprep,
> Any thoughts?
>
> What do you think should be prepared on a new cloned windows guest?
The main thing is to be able to run Microsoft's sysprep tool
on a Windows guest.
Chris wrote some code to do this already in this branch of oz, but
it's very complex:
https://github.com/clalancette/oz/tree/win2k8customize
See in particular:
https://github.com/clalancette/oz/blob/win2k8customize/oz/Windows.py
People will also want to set the hostname (--hostname option) and run
scripts (--script option).
So, it's no necessary to support windows in our virt-sysprep because
it already has a tool to do the same thing for windows, right?
Thanks,
Wanlong Gao
Rich.