From 8503b6c31989c1b290f3c81953410415265965d1 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 19 Mar 2018 07:41:50 -0700 Subject: Move configuration network templates The jinja templates that are used for networking setup are based on the openstack-ansible needs, those needs can differ for another installers. This change propose to make the network configuration depending on the installer. Signed-off-by: Victor Morales Change-Id: Ie805c3c7716393377d4dfcb32ed794cc1039d515 --- .../roles/bootstrap-host/templates/redhat/bridge.ifcfg.j2 | 9 --------- .../roles/bootstrap-host/templates/redhat/interface.ifcfg.j2 | 10 ---------- 2 files changed, 19 deletions(-) delete mode 100644 xci/playbooks/roles/bootstrap-host/templates/redhat/bridge.ifcfg.j2 delete mode 100644 xci/playbooks/roles/bootstrap-host/templates/redhat/interface.ifcfg.j2 (limited to 'xci/playbooks/roles/bootstrap-host/templates/redhat') diff --git a/xci/playbooks/roles/bootstrap-host/templates/redhat/bridge.ifcfg.j2 b/xci/playbooks/roles/bootstrap-host/templates/redhat/bridge.ifcfg.j2 deleted file mode 100644 index 06b5f177..00000000 --- a/xci/playbooks/roles/bootstrap-host/templates/redhat/bridge.ifcfg.j2 +++ /dev/null @@ -1,9 +0,0 @@ -DEVICE={{ item.name }} -NM_CONTROLLED=no -IPADDR={{ item.ip }} -PREFIX={{ item.prefix }} -ONBOOT=yes -BOOTPROTO=none -TYPE=Bridge -DELAY=0 -STP=off diff --git a/xci/playbooks/roles/bootstrap-host/templates/redhat/interface.ifcfg.j2 b/xci/playbooks/roles/bootstrap-host/templates/redhat/interface.ifcfg.j2 deleted file mode 100644 index a97ad0cf..00000000 --- a/xci/playbooks/roles/bootstrap-host/templates/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 }} -- cgit 1.2.3-korg