summaryrefslogtreecommitdiff
path: root/roles/vm/host/network/templates/interfaces/simple.j2
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/vm/host/network/templates/interfaces/simple.j2
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/vm/host/network/templates/interfaces/simple.j2')
-rw-r--r--roles/vm/host/network/templates/interfaces/simple.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/vm/host/network/templates/interfaces/simple.j2 b/roles/vm/host/network/templates/interfaces/simple.j2
index 8d1bb83e..26e8aec2 100644
--- a/roles/vm/host/network/templates/interfaces/simple.j2
+++ b/roles/vm/host/network/templates/interfaces/simple.j2
@@ -1,5 +1,5 @@
- address {{ interface.address | ipaddr('address') }}
- netmask {{ interface.address | ipaddr('netmask') }}
+ address {{ interface.address | ansible.utils.ipaddr('address') }}
+ netmask {{ interface.address | ansible.utils.ipaddr('netmask') }}
{% if 'gateway' in interface %}
gateway {{ interface.gateway }}
{% endif %}