Skip to content
Snippets Groups Projects
Unverified Commit 1c8349a8 authored by Alessandro Franceschi's avatar Alessandro Franceschi Committed by GitHub
Browse files

Merge pull request #338 from srhuston/master

Reload NM configs before reapplying (#337)
parents b46ae6a8 b2e402df
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