diff options
author | Tapio Tallgren <tapio.tallgren@nokia.com> | 2017-12-01 13:53:29 +0200 |
---|---|---|
committer | Tapio Tallgren <tapio.tallgren@nokia.com> | 2018-01-15 13:04:13 +0200 |
commit | 8a3017299b8b78e16c91f8e0c091aee244137d46 (patch) | |
tree | 01f74f0398addfb7df1889d017d080ad0ca1f784 /xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2 | |
parent | 494a97fc79b73bc019c07baa29e5a1b662e55bcf (diff) |
Create CentOS networking configuration
Change-Id: If8c0de44c313fdc22b1c7443b12d42769035c5b0
Signed-off-by: Tapio Tallgren <tapio.tallgren@nokia.com>
Diffstat (limited to 'xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2')
-rw-r--r-- | xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2 b/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2 new file mode 100644 index 00000000..b0dea0f5 --- /dev/null +++ b/xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2 @@ -0,0 +1,10 @@ +DEVICE={{ item.name }} +NM_CONTROLLED=no +ONBOOT=yes +BOOTPROTO=none +{% if item.vlan_id is defined %} +VLAN=yes +ETHERDEVICE={{ interface }} +VLAN_ID={{ item.vlan_id }} +{% endif %} +BRIDGE={{ item.bridge }} |