]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/recipes/default.rb
nominatim: remove remaining references to :state
[chef.git] / cookbooks / networking / recipes / default.rb
index 103f8823ba4ca6bc8d59c662694bd961e7fcb44c..ea87c3b7b0b4ab94264d558bcf5571c46dc54dcf 100644 (file)
@@ -266,6 +266,16 @@ if node[:networking][:wireguard][:enabled]
   end
 end
 
   end
 end
 
+# Setup dokken network in systemd-networkd to avoid systemd-networkd-wait-online delay
+template "/etc/systemd/network/dokken.network" do
+  source "dokken.network.erb"
+  owner "root"
+  group "root"
+  mode "644"
+  notifies :run, "execute[networkctl-reload]", :immediately
+  only_if { kitchen? }
+end
+
 notify_group "networkctl-reload"
 
 execute "networkctl-reload" do
 notify_group "networkctl-reload"
 
 execute "networkctl-reload" do