diff --git a/roles/base/templates/ifcfg.j2 b/roles/base/templates/ifcfg.j2 index 2f334be67b..0e7ba2b861 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 %}