Merge "Run dhcp-interface@.service after network.target"
This commit is contained in:
commit
b8a985fc02
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=DHCP interface %I
|
Description=DHCP interface %I
|
||||||
Before=network-pre.target
|
# We want to run after network.target so it doesn't try to bring
|
||||||
Wants=network-pre.target
|
# up the interfaces a second time, but network-online should not
|
||||||
|
# be reached until after we've brought up the interfaces.
|
||||||
|
After=network.target
|
||||||
|
Before=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
ConditionPathExists=!/etc/sysconfig/network-scripts/ifcfg-%I
|
ConditionPathExists=!/etc/sysconfig/network-scripts/ifcfg-%I
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue