From 2953200a653e1878beba8543a20407744e8c5db5 Mon Sep 17 00:00:00 2001 From: Jan Vaclav Date: Tue, 8 Apr 2025 13:00:13 +0200 Subject: [PATCH] core/devices: generate connections with autoconnect=true Previously, when a generated connection was edited, and the machine was rebooted, the connection would not apply, and a new generated connection would be made, because autoconnect was set to FALSE. Set autoconnect to be true by default, so that the modified generated connection is applied. --- src/core/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index 089d5cac0d..e7984c578a 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -9548,7 +9548,7 @@ nm_device_generate_connection(NMDevice *self, NM_SETTING_CONNECTION_ID, ifname, NM_SETTING_CONNECTION_AUTOCONNECT, - FALSE, + TRUE, NM_SETTING_CONNECTION_INTERFACE_NAME, ifname, NM_SETTING_CONNECTION_TIMESTAMP,