diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2016-06-16 13:58:15 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2016-06-16 13:58:15 +0200 |
commit | f8eca61d5af878ddffb584a77158a21e13024e6d (patch) | |
tree | b6c9cdda559d73025b1401539b8e312c106989d2 /sysconfig/network-scripts/network-functions | |
parent | 61fb1cb4efd62120ffbc021d7fdee1cd25059c08 (diff) | |
download | initscripts-f8eca61d5af878ddffb584a77158a21e13024e6d.tar initscripts-f8eca61d5af878ddffb584a77158a21e13024e6d.tar.gz initscripts-f8eca61d5af878ddffb584a77158a21e13024e6d.tar.bz2 initscripts-f8eca61d5af878ddffb584a77158a21e13024e6d.tar.xz initscripts-f8eca61d5af878ddffb584a77158a21e13024e6d.zip |
ifup: don't call nmcli on any lo device
Resolves: #1336869
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index d1f12560..639fdb69 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -170,7 +170,7 @@ source_config () else ISALIAS=no fi - if is_nm_running; then + if is_nm_running && [ "$REALDEVICE" != "lo" ] ; then nmcli con load "/etc/sysconfig/network-scripts/$CONFIG" if ! is_false $NM_CONTROLLED; then UUID=$(get_uuid_by_config $CONFIG) |