From 4b7e790d335787ce0837ca47025dd7a14287e52a Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 3 Nov 2017 18:20:17 +0100 Subject: u/fuel: Bump & rebase for debian_ip lowercase fix While at it, revert commit adding "opnfv" user to "libvirt" group, as it would break with the current event flow (opnfv user being created prior to libvirt group). Change-Id: I6f5d578153c33dcddac76bc7bc6b428fe6796b1a Signed-off-by: Alexandru Avadanii --- patches/opnfv-fuel/0013-Add-opnfv-user-to-the-deployment.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'patches/opnfv-fuel/0013-Add-opnfv-user-to-the-deployment.patch') diff --git a/patches/opnfv-fuel/0013-Add-opnfv-user-to-the-deployment.patch b/patches/opnfv-fuel/0013-Add-opnfv-user-to-the-deployment.patch index 75e239a0..d5df3dac 100644 --- a/patches/opnfv-fuel/0013-Add-opnfv-user-to-the-deployment.patch +++ b/patches/opnfv-fuel/0013-Add-opnfv-user-to-the-deployment.patch @@ -21,18 +21,18 @@ Signed-off-by: Guillermo Herrero create mode 100644 mcp/salt-formulas/opnfv/adduser.sls diff --git a/mcp/config/states/virtual_control_plane b/mcp/config/states/virtual_control_plane -index a5fc061..b2d005b 100755 +index 0afd530..ccf7152 100755 --- a/mcp/config/states/virtual_control_plane +++ b/mcp/config/states/virtual_control_plane -@@ -14,6 +14,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/lib.sh" - - # KVM, compute node prereqs (libvirt first), VCP deployment +@@ -17,6 +17,7 @@ salt -C 'kvm* or cmp*' file.line \ + /usr/lib/python2.7/dist-packages/salt/modules/debian_ip.py \ + content='iface = iface.lower()' mode='delete' salt -C 'kvm*' pkg.install bridge-utils +salt -C '*' state.apply opnfv.adduser salt -C 'kvm*' state.apply linux.network salt -C 'cmp*' state.apply linux.system salt -C 'cmp*' state.apply linux.network || true -@@ -44,6 +45,7 @@ while [ $rc -ne 0 ] && [ ${attempt} -lt ${total_attempts} ]; do +@@ -47,6 +48,7 @@ while [ $rc -ne 0 ] && [ ${attempt} -lt ${total_attempts} ]; do rc=0 for node in $vcp_nodes; do salt "$node" test.ping 2>/dev/null || { rc=$?; break; }; -- cgit 1.2.3-korg