[Libguestfs] [PATCH 2/5] sysprep: remove the NFS settings

Richard W.M. Jones rjones at redhat.com
Fri Sep 6 08:01:42 UTC 2013


On Fri, Sep 06, 2013 at 03:52:39PM +0800, Wanlong Gao wrote:
> This remove the NFS settings by removing /etc/export.
> 
> Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
> ---
>  sysprep/Makefile.am                      |  1 +
>  sysprep/sysprep_operation_nfs_setting.ml | 43 ++++++++++++++++++++++++++++++++
>  2 files changed, 44 insertions(+)
>  create mode 100644 sysprep/sysprep_operation_nfs_setting.ml
> 
> diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
> index b89345a..9894baf 100644
> --- a/sysprep/Makefile.am
> +++ b/sysprep/Makefile.am
> @@ -51,6 +51,7 @@ operations = \
>  	mail_spool \
>  	net_hostname \
>  	net_hwaddr \
> +	nfs_setting \

This needs to be called 'nfs_settings' and ...

> +    name = "NFS-setting";

this should be "nfs-settings".

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list