Skip to content

Commit

Permalink
Fix bindtomac-network-device-mac-pre
Browse files Browse the repository at this point in the history
For bindtomac HWADDR *should* be in the ifcfg file
  • Loading branch information
rvykydal committed Oct 13, 2017
1 parent 4fb4d30 commit f66a9e7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bindtomac-network-device-mac-pre.ks.in
Expand Up @@ -26,13 +26,11 @@ shutdown

@KSINCLUDE@ post-lib-network.sh

# --device=<MAC> is used to specify the interface, not to bind the
# connection to the MAC address
check_ifcfg_key_exists ens3 HWADDR no
check_ifcfg_key_exists ens3 HWADDR yes
check_ifcfg_exists ens3-1 no
check_device_connected ens3 yes

check_ifcfg_key_exists ens4 HWADDR no
check_ifcfg_key_exists ens4 HWADDR yes
check_ifcfg_exists ens4-1 no
check_device_connected ens4 yes

Expand Down

0 comments on commit f66a9e7

Please sign in to comment.