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

This commit is contained in:
Richard W.M. Jones
2013-05-21 13:37:55 +01:00
parent d2abdddf61
commit 5a69428f5e

View File

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