[Libguestfs] [PATCH 3/5] sysprep: remove the custom kdump configurations

Wanlong Gao gaowanlong at cn.fujitsu.com
Fri Sep 6 08:25:07 UTC 2013


On 09/06/2013 04:06 PM, Richard W.M. Jones wrote:
> On Fri, Sep 06, 2013 at 03:52:40PM +0800, Wanlong Gao wrote:
>> +	kdump_config \
> 
> Better to call this one just "kdump" ?
> 
> However I'm unclear why anyone would want to remove kdump config in a
> sysprep operation.  Or TCP wrappers for that matter.  There seems to
> be no useful point in having virt-sysprep start to remove random
> config files.

Thought that these are most important and useful config files in a VM.
Below is quoted from whom gave me these requirement:
"
Motivation
  virt-sysprep command is simple and useful command for deploying VMs.
  So, we hope its enchance.

  Though we know guestfish can be used for removing these files too,
  (by writing script, etc)
  currently it is not good for normal users by the following reasons.
   
      guestfish cannot handle errors appropriately.
        - When user uses interactive mode of guestfish, it may abort when
          error occurs.
        - When user uses batch mode of it, it may ignore error.
        - Its error message is too noisy (ex, when the specified file is not 
          present.)
"


Thanks,
Wanlong Gao

> 
> Rich.
> 




More information about the Libguestfs mailing list