[Libguestfs] [PATCH RFC] sysprep:add logging feature
gaowanlong at cn.fujitsu.com
Tue Apr 3 08:54:59 UTC 2012
On 04/03/2012 04:45 PM, Richard W.M. Jones wrote:
> On Tue, Apr 03, 2012 at 04:20:28PM +0800, Wanlong Gao wrote:
>> Hi Rich,
>> What I felt at using virt-sysprep is that all things are done in silent and
>> there is no log what's done. Please consider to add logging feature what was done
>> at virt-sysprep. For example,
> If we do logging, let's allow it to be enabled and disabled on the
> command line, and add a generic "log" function to utils.ml.
what I'm going to do and what we most interested in is,
- external guest fish script.
- homedir .ssh directroy
(It's better if virt-sysprep can prepare a new key for copied guest.)
- /var/run files
- modify file system's UUID to be an unique.
Other than that, I think following should be removed..
- .bash_history file
- delete user accounts (should be optional??)
- add/modify user accounts(optional)
What do you think Rich?
More information about the Libguestfs