Unable to unset wifi.cloned-mac-address for connection with nmcli



Hi,

For an existing connection I wanted to remove wifi.cloned-mac-address
property to make it use a default value configured for a device. While
`remove wifi.cloned-mac-address` seems to work fine (print result `--`
for that property) after `save` command and nmcli restart I still see
the old value set (permanent, random, ...).

I have also noticed that `/etc/sysconfig/network-scripts/ifcfg-$NAME` is
not being updated. However, if I change some other property (e.g.
`wifi.ssid`) that file is updated.

Sample session:
$ nmcli connection edit CONN_NAME
nmcli> print wifi.cloned-mac-address
802-11-wireless.cloned-mac-address: permanent
nmcli> remove wifi.cloned-mac-address
nmcli> print wifi.cloned-mac-address
802-11-wireless.cloned-mac-address: (null)
nmcli> save
Connection 'CONN_NAME' (XXX) successfully updated.
nmcli> print wifi.cloned-mac-address
802-11-wireless.cloned-mac-address: (null)
nmcli> quit

$ nmcli connection edit CONN_NAME
nmcli> print wifi.cloned-mac-address
802-11-wireless.cloned-mac-address: permanent


What could be a reasons?

NM 1.4.4, Fedora 25.

Marcin

-- 
http://blog.solidsoft.info/ - Working code is not enough


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]