action :delete
end
+package "ifupdown" do
+ action :purge
+end
+
package "netplan.io" do
action :purge
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
end
end
+firewall_rule "accept-http-osm" do
+ action :accept
+ context :incoming
+ protocol :tcp
+ source :osm
+ dest_ports %w[http https]
+end
+
firewall_rule "accept-http" do
action :accept
context :incoming