mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
sysprep: Allow hwaddr to be removed on other Red Hat derivatives (RHBZ#811117).
This commit is contained in:
committed by
Richard W.M. Jones
parent
60b87d0a5c
commit
5e054f8731
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user