summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysprep/sysprep_operation_hostname.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysprep/sysprep_operation_hostname.ml b/sysprep/sysprep_operation_hostname.ml
index 1472a1c4..51f93865 100644
--- a/sysprep/sysprep_operation_hostname.ml
+++ b/sysprep/sysprep_operation_hostname.ml
@@ -29,7 +29,7 @@ let hostname_perform g root =
let typ = g#inspect_get_type root in
let distro = g#inspect_get_distro root in
match typ, distro with
- | "linux", ("fedora"|"rhel") ->
+ | "linux", ("fedora"|"rhel"|"centos"|"scientificlinux"|"redhat-based") ->
(* Replace HOSTNAME=... entry. The code assumes it's a small,
* plain text file.
*)