--- # early system configuration anti_phishing_code: "Direktil<3" modules: /modules.sqfs auths: {{ .vars.bootstrap_auths |yaml }} networks: - name: loopback interfaces: [ { var: iface, n: 1, regexps: [ "^lo$" ] } ] script: | ip a add 127.0.0.1/8 dev lo ip a add ::1/128 dev lo ip li set lo up {{- if .vars.net_custom }} {{ .vars.net_custom | indent " " }} {{- else }} ip link add name main type bond ip addr add {{.host.ip}}/{{.vars.netmask}} dev main ip link set main up {{- if .vars.gateway_mask }} ip route add {{.vars.gateway}}/{{.vars.gateway_mask}} dev main {{- end }} ip route add default via {{.vars.gateway}} cat >>/etc/resolv.conf <