sysprep: Allow hwaddr to be removed on other Red Hat derivatives (RHBZ#811117).

This commit is contained in:
Qin Guan
2012-04-10 14:14:21 +01:00
committed by Richard W.M. Jones
parent 60b87d0a5c
commit 5e054f8731

View File

@@ -25,7 +25,7 @@ let net_hwaddr_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") ->
let filenames = g#glob_expand "/etc/sysconfig/network-scripts/ifcfg-*" in
Array.iter (
fun filename ->