Browse Source

Order NetworkManager after qubes-network-uplink.service

Make sure NM config for uplink interface (eth0) is created before
starting NetworkManager itself. Otherwise NM helpfully will try to use
automatic DHCP configuration, which will fail and cause delays on
network start.
Marek Marczykowski-Górecki 3 years ago
parent
commit
66b3e628f2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vm-systemd/NetworkManager.service.d/30_qubes.conf

+ 2 - 0
vm-systemd/NetworkManager.service.d/30_qubes.conf

@@ -4,6 +4,8 @@ ConditionPathExists=/var/run/qubes-service/network-manager
 After=qubes-mount-dirs.service
 # For /var/run/qubes-service
 After=qubes-sysinit.service
+# For configuration of qubes-provided interfaces
+After=qubes-network-uplink.service
 
 [Service]
 ExecStartPre=/usr/lib/qubes/network-manager-prepare-conf-dir