core-agent-linux/vm-systemd/NetworkManager.service.d/30_qubes.conf
Marek Marczykowski-Górecki 66b3e628f2
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.
2020-12-05 18:13:27 +01:00

12 lines
320 B
Plaintext

[Unit]
ConditionPathExists=/var/run/qubes-service/network-manager
# For /rw
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