Skip to content

Commit

Permalink
fix(network-manager): pull in network.target in nm-initrd.service
Browse files Browse the repository at this point in the history
Otherwise units with `After=network.target` won't have any effect.
  • Loading branch information
dustymabe authored and johannbg committed Jun 28, 2021
1 parent 563f543 commit a97d6e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules.d/35network-manager/nm-initrd.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ DefaultDependencies=no
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service
After=dracut-cmdline.service
Wants=network.target
Before=network.target
ConditionPathExists=/run/NetworkManager/initrd/neednet
ConditionPathExistsGlob=|/usr/lib/NetworkManager/system-connections/*
Expand Down

0 comments on commit a97d6e2

Please sign in to comment.