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.
This commit is contained in:
Marek Marczykowski-Górecki 2020-12-05 18:13:27 +01:00
parent 519e82b7c0
commit 66b3e628f2
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

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