summaryrefslogtreecommitdiff
path: root/roles/installer/openbsd/autoinstall/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-21 20:21:14 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-21 20:21:14 +0200
commit7a0c203380731eaaae03fca8de71cdf9094b0120 (patch)
treeb9d9a1fd34dce7d259c6a1133b74c0cc36c1df8f /roles/installer/openbsd/autoinstall/templates
parentfurther improved network config (diff)
address vs prefix
Diffstat (limited to 'roles/installer/openbsd/autoinstall/templates')
-rw-r--r--roles/installer/openbsd/autoinstall/templates/auto_install.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2 b/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2
index cf15baff..1e0c8c0c 100644
--- a/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2
+++ b/roles/installer/openbsd/autoinstall/templates/auto_install.conf.j2
@@ -4,8 +4,8 @@ Which network interface do you wish to configure = {{ install_interface | defaul
{% if 'install_dhcp' in hostvars[install_hostname] and hostvars[install_hostname].install_dhcp %}
IPv4 address = dhcp
{% else %}
-IPv4 address = {{ hostvars[install_hostname].network_cooked.primary.prefix | ipaddr('address') }}
-Netmask = {{ hostvars[install_hostname].network_cooked.primary.prefix | ipaddr('netmask') }}
+IPv4 address = {{ hostvars[install_hostname].network_cooked.primary.address | ipaddr('address') }}
+Netmask = {{ hostvars[install_hostname].network_cooked.primary.address | ipaddr('netmask') }}
Default IPv4 route = {{ hostvars[install_hostname].network_cooked.primary.gateway }}
{% endif %}
DNS domain name = {{ hostvars[install_hostname].network_cooked.domain }}