nm: Fix auto connection when importing existing profile
The `NM.SettingConnection.props.autoconnect_slaves` should be `NM.SettingConnectionAutoconnectSlaves.YES` instead of bool. Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
40997a934c
commit
9e43f68bb7
@ -81,7 +81,9 @@ class _ConnectionSetting:
|
||||
new.props.uuid = base.props.uuid
|
||||
new.props.type = base.props.type
|
||||
new.props.autoconnect = True
|
||||
new.props.autoconnect_slaves = True
|
||||
new.props.autoconnect_slaves = (
|
||||
NM.SettingConnectionAutoconnectSlaves.YES
|
||||
)
|
||||
|
||||
self._setting = new
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user