[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH] sysprep: handle suse-based in hostname operation



On Fri, Sep 21, 2012 at 01:49:03PM +0200, Olaf Hering wrote:
> Signed-off-by: Olaf Hering <olaf aepfle de>
> 
> diff --git a/sysprep/sysprep_operation_hostname.ml b/sysprep/sysprep_operation_hostname.ml
> index 363069b..cbac46a 100644
> --- a/sysprep/sysprep_operation_hostname.ml
> +++ b/sysprep/sysprep_operation_hostname.ml
> @@ -45,7 +45,7 @@ let hostname_perform g root =
>      g#write filename file;
>      [ `Created_files ]
>  
> -  | "linux", ("opensuse"|"sles") ->
> +  | "linux", ("opensuse"|"sles"|"suse-based") ->
>      g#write "/etc/HOSTNAME" !hostname;
>      [ `Created_files ]
>  

Thanks - pushed.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]