diff options
author | Thomas Haller <thaller@redhat.com> | 2017-04-18 14:46:27 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-04-18 15:52:44 +0200 |
commit | 9e8218f99a2d5a7020703e0fbac1c7c0983930db (patch) | |
tree | ad2ea848755beb672bd11c64306557fbe92df002 /src/platform/nm-linux-platform.c | |
parent | a31ddcfca5abf13d5a6522615d2411692167eadf (diff) |
device: leave device up when setting it as unmanaged by user
Before, setting a device to unmanaged causes it to go down and clear
the interface state.
It may be useful to instruct NetworkManager not to touch the device
anymore but leave the current state up. Changing behavior for
nmcli device set "$DEV" managed no
To get the previous behavior, one has to first disconnect the interface
via
nmcli device disconnect "$DEV"
nmcli device set "$DEV" managed no
Note that non-permanent addresses like from DHCP will eventually time
out because NetworkManager stops the DHCP client. When instructing
NetworkManager to let go of the device, you have to take it over in
any way you see fit.
https://bugzilla.redhat.com/show_bug.cgi?id=1371433
Diffstat (limited to 'src/platform/nm-linux-platform.c')
0 files changed, 0 insertions, 0 deletions