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