mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
sysprep: Allow hostname to be set on other Red Hat derivatives (RHBZ#811112).
This commit is contained in:
committed by
Richard W.M. Jones
parent
8ae322e5a7
commit
60b87d0a5c
@@ -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.
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user