[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, experimental, updated. debian/1%1.21.40-1

Richard W.M. Jones rjones at redhat.com
Sat Jun 1 11:05:08 UTC 2013


The following commit has been merged in the experimental branch:
commit 5a69428f5ec197dfa054e98e80098b758b36d5b9
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue May 21 13:37:55 2013 +0100

    sysprep: Be prepared for CentOS etc. 7 which will act the same way as RHEL 7.

diff --git a/sysprep/sysprep_operation_hostname.ml b/sysprep/sysprep_operation_hostname.ml
index 7f1150d..d38335e 100644
--- a/sysprep/sysprep_operation_hostname.ml
+++ b/sysprep/sysprep_operation_hostname.ml
@@ -66,7 +66,7 @@ let hostname_perform g root =
     update_etc_hostname ();
     update_etc_machine_info ();
     [ `Created_files ]
-  | "linux", "rhel", v when v >= 7 ->
+  | "linux", ("rhel"|"centos"|"scientificlinux"|"redhat-based"), v when v >= 7 ->
     update_etc_hostname ();
     update_etc_machine_info ();
     [ `Created_files ]

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list