summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j2
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-04-25 15:55:10 +0100
committerMarkos Chandras <mchandras@suse.de>2018-04-30 16:09:19 +0100
commit15be5eb8da9881428ea1635a3184c39f63dfaf80 (patch)
tree7e46c3fc275e1ee8222568087999a89bcd153567 /xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j2
parentbe67faf1cfaeb2f0d1ff73c90c8b3996b2b6a506 (diff)
xci: roles: bootstrap-host: Simplify configuration files
We split the networking task on distro specific files to make it easier to read. Moreover, the debian network configuration has been improved by simply sharing a common file across all nodes and also use the 'source' facility in the main /etc/network/interfaces file to use one configuration file per interface. Change-Id: Ic822fe6dc197227e70c0ba7cee812629df287d82 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j2')
-rw-r--r--xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j210
1 files changed, 0 insertions, 10 deletions
diff --git a/xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j2 b/xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j2
deleted file mode 100644
index a97ad0cf..00000000
--- a/xci/playbooks/roles/bootstrap-host/templates/osa/redhat/interface.ifcfg.j2
+++ /dev/null
@@ -1,10 +0,0 @@
-DEVICE={{ item.name }}
-NM_CONTROLLED=no
-ONBOOT=yes
-BOOTPROTO=none
-{% if item.vlan_id is defined %}
-VLAN=yes
-ETHERDEVICE={{ ansible_default_ipv4.interface }}
-VLAN_ID={{ item.vlan_id }}
-{% endif %}
-BRIDGE={{ item.bridge }}