summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/virtual_control_plane
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-07 20:02:28 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-07 20:02:28 +0100
commit3803f9ff798b5c186e605cb8366b5153ab4e19fc (patch)
tree1787d7111d4217bc536be72c88836b9be1f46c56 /mcp/config/states/virtual_control_plane
parentb1ea72ba2c441a59327cc931b95bb7ece41591d0 (diff)
MaaS: Fix conflicting curtin network config
JIRA: FUEL-301 Change-Id: I9de98fb961fd1d480b45a774de61ad6a93e9addf Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config/states/virtual_control_plane')
-rwxr-xr-xmcp/config/states/virtual_control_plane1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/config/states/virtual_control_plane b/mcp/config/states/virtual_control_plane
index 9ebf4bf69..d02ea4398 100755
--- a/mcp/config/states/virtual_control_plane
+++ b/mcp/config/states/virtual_control_plane
@@ -13,6 +13,7 @@ CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x
source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/lib.sh"
# KVM, compute node prereqs (libvirt first), VCP deployment
+salt -C 'kvm* or cmp*' cmd.run 'rm -f /etc/network/interfaces.d/*.cfg'
salt -C 'kvm* or cmp*' file.line \
/usr/lib/python2.7/dist-packages/salt/modules/debian_ip.py \
content='iface = iface.lower()' mode='delete'