summaryrefslogtreecommitdiff
path: root/roles/installer/openbsd/autoinstall
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-09-05 23:56:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-09-05 23:56:28 +0200
commit0d20c36e23f2435edd3f4f362ae64963ca6bfb6a (patch)
tree12859d4d39220b117fdf3ddc7a5b5d4c3edc086f /roles/installer/openbsd/autoinstall
parentubuntu/installer: add support for desktop installs (diff)
replace some ipaddr() filter calls to new location (still a lot left todo...)
Diffstat (limited to 'roles/installer/openbsd/autoinstall')
-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 e6437ff1..8c28d6e6 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 | default(false)) %}
IPv4 address = dhcp
{% else %}
-IPv4 address = {{ network.primary.address | ipaddr('address') }}
-Netmask = {{ network.primary.address | ipaddr('netmask') }}
+IPv4 address = {{ network.primary.address | ansible.utils.ipaddr('address') }}
+Netmask = {{ network.primary.address | ansible.utils.ipaddr('netmask') }}
Default IPv4 route = {{ network.primary.gateway }}
{% endif %}
DNS domain name = {{ network.domain }}