summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/post-osa/templates/ifcfg-tenant.j2
blob: fce9b572ee978ee6d936542118e3150389af13ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
DEVICE={{ intf_tenant }}
BOOTPROTO=none
ONBOOT=yes
IPADDR={{ ip_settings[inventory_hostname]["tenant"]["ip"] }}
NETMASK=255.255.255.0
DEFROUTE="no"
{% if contr_sys_mappings["tenant"]["vlan_tag"] | int %}
{% set intf_vlan = "yes" %}
{% else %}
{% set intf_vlan = "no" %}
{% endif %}
VLAN={{ intf_vlan }}