From cdcfb32414af77abac43440e0ab5b448e72d83e5 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 15 Feb 2018 08:57:47 +0000 Subject: 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 --- xci/var/Debian.yml | 1 - xci/var/RedHat.yml | 1 - xci/var/Suse.yml | 1 - 3 files changed, 3 deletions(-) (limited to 'xci/var') 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 -- cgit 1.2.3-korg