summaryrefslogtreecommitdiff
path: root/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2')
-rw-r--r--roles/installer/openbsd/autoinstall/templates/auto_install.conf.j212
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2 b/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2
index 4cfdbfa7..e6437ff1 100644
--- a/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2
+++ b/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2
@@ -1,15 +1,15 @@
System hostname = {{ host_name }}
-Which network interface do you wish to configure = {{ install_interface | default(network_cooked.primary.name) }}
+Which network interface do you wish to configure = {{ install_interface | default(network.primary.name) }}
{% if (install_dhcp | default(false)) %}
IPv4 address = dhcp
{% else %}
-IPv4 address = {{ network_cooked.primary.address | ipaddr('address') }}
-Netmask = {{ network_cooked.primary.address | ipaddr('netmask') }}
-Default IPv4 route = {{ network_cooked.primary.gateway }}
+IPv4 address = {{ network.primary.address | ipaddr('address') }}
+Netmask = {{ network.primary.address | ipaddr('netmask') }}
+Default IPv4 route = {{ network.primary.gateway }}
{% endif %}
-DNS domain name = {{ network_cooked.domain }}
-DNS nameservers = {{ network_cooked.nameservers | join(' ') }}
+DNS domain name = {{ network.domain }}
+DNS nameservers = {{ network.nameservers | join(' ') }}
{% if obsd_autoinstall_serial_device is defined %}
Change the default console to {{ obsd_autoinstall_serial_device }} = yes