summaryrefslogtreecommitdiffstats
path: root/xci/var
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-02-15 08:57:47 +0000
committerMarkos Chandras <mchandras@suse.de>2018-02-21 17:37:05 +0000
commitcdcfb32414af77abac43440e0ab5b448e72d83e5 (patch)
tree600f06e58f54db46be3072794237762eb02e72e1 /xci/var
parent7c37b9ac8715ebedecf903f9de67c55830fb5b90 (diff)
xci: roles: configure-network: Determine host NIC from Ansible facts
Hardcoding the interface as a variable is very fragile since it varies from host to host. We could use the Ansible facts to find out the interface name and then use that to configure all the VLANs and networking. Change-Id: Ie7e2409d638625b9bede23b6c1fe33dc36f81840 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/var')
-rw-r--r--xci/var/Debian.yml1
-rw-r--r--xci/var/RedHat.yml1
-rw-r--r--xci/var/Suse.yml1
3 files changed, 0 insertions, 3 deletions
diff --git a/xci/var/Debian.yml b/xci/var/Debian.yml
index bd07473a..ad3621b6 100644
--- a/xci/var/Debian.yml
+++ b/xci/var/Debian.yml
@@ -8,7 +8,6 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
# this is the interface the VM nodes are connected to libvirt network "default"
-interface: "ens3"
python_crypto_package_name: python-crypto
docker_package_name: docker.io
docker_service_name: docker
diff --git a/xci/var/RedHat.yml b/xci/var/RedHat.yml
index 814d060e..8ea2e15a 100644
--- a/xci/var/RedHat.yml
+++ b/xci/var/RedHat.yml
@@ -8,7 +8,6 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
# this is placeholder and left blank intentionally to complete later on
-interface: "ens3"
python_crypto_package_name: python-crypto
docker_package_name: docker
docker_service_name: docker
diff --git a/xci/var/Suse.yml b/xci/var/Suse.yml
index a041e18b..5066defa 100644
--- a/xci/var/Suse.yml
+++ b/xci/var/Suse.yml
@@ -8,7 +8,6 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
# this is the interface the VM nodes are connected to libvirt network "default"
-interface: "eth0"
python_crypto_package_name: python-pycrypto
docker_package_name: docker
docker_service_name: docker