From 9e4e97fc4d997b7d934dd59cf97615ab05c6039d Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Sun, 2 Apr 2017 04:45:17 +0000 Subject: [PATCH] Remove hardcoded test interface In the attempt to provide the ability to utilize a separate network_interface for testing, the hard-coded interface must be removed. Since we already define the interface elsewhere when testing, this should be perfectly safe. Change-Id: I089eab01f070a3383ab47194cc837f32da555a58 --- .../roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 b/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 index 405dceb2b..541dc0e60 100644 --- a/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 +++ b/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 @@ -17,11 +17,7 @@ port=53 # specified interfaces (and the loopback) give the name of the # interface (eg eth0) here. # Repeat the line for more than one interface. -{% if testing | bool == true %} -interface=virbr0 -{% else %} interface={{ network_interface }} -{% endif %} # On systems which support it, dnsmasq binds the wildcard address, # even when it is listening on only some interfaces. It then discards