Skip to content
Snippets Groups Projects
Commit b2e402df authored by Steve Huston's avatar Steve Huston
Browse files

Changing real_reload_command for RHEL8 to reload configs before reapplying

parent b46ae6a8
No related branches found
No related tags found
No related merge requests found
......@@ -683,7 +683,7 @@ define network::interface (
undef => $::operatingsystem ? {
'CumulusLinux' => 'ifreload -a',
'RedHat' => $::operatingsystemmajrelease ? {
'8' => "/usr/bin/nmcli device reapply ${interface}",
'8' => "/usr/bin/nmcli con reload ; /usr/bin/nmcli device reapply ${interface}",
default => "ifdown ${interface} --force ; ifup ${interface}",
},
default => "ifdown ${interface} --force ; ifup ${interface}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment