From efabd7f30f16de613c9a82b22e1cf8418815c0d4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: May 24 2019 18:54:14 +0000 Subject: Fix this defaulting to a /8 Signed-off-by: Patrick Uiterwijk --- diff --git a/roles/base/templates/ifcfg.j2 b/roles/base/templates/ifcfg.j2 index 2f334be..0e7ba2b 100644 --- a/roles/base/templates/ifcfg.j2 +++ b/roles/base/templates/ifcfg.j2 @@ -38,4 +38,5 @@ IPV6_MTU=1280 {% endif %} {% if hostvars[inventory_hostname][item + '_secondary_ip'] is defined %} IPADDR1="{{ hostvars[inventory_hostname][item + '_secondary_ip'] }}" +PREFIX1=24 {% endif %}