mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
sysprep: Be prepared for CentOS etc. 7 which will act the same way as RHEL 7.
This commit is contained in:
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user