summaryrefslogtreecommitdiffstats
path: root/sysprep/sysprep_operation_net_hwaddr.ml
diff options
context:
space:
mode:
authorQin Guan <qguan@redhat.com>2012-04-10 14:14:21 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-04-10 14:15:18 +0100
commit5e054f873198b83947de328777d9ced3bfa39ad5 (patch)
tree19a90a84d90c9c8565231ece1190d1ea8d105751 /sysprep/sysprep_operation_net_hwaddr.ml
parent60b87d0a5c97a458cefb6c5d31eeede7709f5a3d (diff)
downloadlibguestfs-5e054f873198b83947de328777d9ced3bfa39ad5.tar.gz
libguestfs-5e054f873198b83947de328777d9ced3bfa39ad5.tar.xz
libguestfs-5e054f873198b83947de328777d9ced3bfa39ad5.zip
sysprep: Allow hwaddr to be removed on other Red Hat derivatives (RHBZ#811117).
Diffstat (limited to 'sysprep/sysprep_operation_net_hwaddr.ml')
-rw-r--r--sysprep/sysprep_operation_net_hwaddr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysprep/sysprep_operation_net_hwaddr.ml b/sysprep/sysprep_operation_net_hwaddr.ml
index 8aa102a9..02e3b5e5 100644
--- a/sysprep/sysprep_operation_net_hwaddr.ml
+++ b/sysprep/sysprep_operation_net_hwaddr.ml
@@ -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 ->