File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
modules/enableit/common/manifests Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 105105 ' systemd-networkd' : {
106106 include ::common::system::systemd
107107
108+ # With bonded interfaces, systemd-networkd-wait-online waits for ALL managed interfaces
109+ # (bond + both slaves) to reach "online" state. LACP negotiation can exceed the default
110+ # timeout, causing boot failures. --any makes the service succeed as soon as at least one
111+ # interface is online.
112+ systemd::dropin_file { 'wait-online-any.conf' :
113+ unit => ' systemd-networkd-wait-online.service' ,
114+ content => " [Service]\n ExecStart=\n ExecStart=/lib/systemd/systemd-networkd-wait-online --any\n " ,
115+ }
116+
108117 # Bonded not supported
109118 $interfaces .each |$_name, $_config| {
110119 if type($_config[' ipaddress' ]) =~ Type[Stdlib::IP::Address::V4::CIDR] or $_uses_dhcp {
You can’t perform that action at this time.
0 commit comments