1 wireguard_id = %x(systemd-id128 machine-id -a 3f36688c233848dfa84e4b176195622e)
3 default[:networking][:firewall][:enabled] = true
4 default[:networking][:firewall][:inet] = []
5 default[:networking][:firewall][:inet6] = []
6 default[:networking][:firewall][:http_rate_limit] = "-"
7 default[:networking][:firewall][:http_connection_limit] = "-"
8 default[:networking][:firewall][:log] = true
9 default[:networking][:firewall][:mark] = true
10 default[:networking][:firewall][:raw] = true
11 default[:networking][:firewall][:mangle] = true
12 default[:networking][:interfaces] = {}
13 default[:networking][:nameservers] = []
14 default[:networking][:search] = []
15 default[:networking][:dnssec] = "allow-downgrade"
16 default[:networking][:hostname] = node.name
17 default[:networking][:wireguard][:enabled] = false
18 default[:networking][:wireguard][:address] = "fd43:e709:ea6d:1:#{wireguard_id[0, 4]}:#{wireguard_id[4, 4]}:#{wireguard_id[8, 4]}:#{wireguard_id[12, 4]}"
19 default[:networking][:wireguard][:keepalive] = false
20 default[:networking][:wireguard][:peers] = []