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

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



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 ]
 
-- 
1.7.12


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