Skip to content

Commit

Permalink
[dhcpcd] Do not fallback to ipv4ll
Browse files Browse the repository at this point in the history
With the switch to dhcpcd in [1] we are hitting random
issues in our jobs where dhcp server takes some time to
be ready while cirros just use ipv4ll address and don't
retry. With udhcpc it was not the case, also it used
to retry 3 times every 60 seconds before giving up.

Also added wait for ip configuration for 2 minutes
before forking in background.

[1] ded54d
Related-Bug: https://bugs.launchpad.net/neutron/+bug/2045549
  • Loading branch information
karelyatin committed Jun 18, 2024
1 parent 46a1162 commit dd4ed0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/init.d/S40network
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ case "$1" in
start)
printf "Starting network: "
/sbin/ifup lo
/sbin/dhcpcd
/sbin/dhcpcd --noipv4ll -w -t 120
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
Expand Down

0 comments on commit dd4ed0e

Please sign in to comment.