diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-09-25 11:25:22 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-09-26 10:53:07 +0000 |
commit | 585bba1465e4fe2e83f6ff702c7db5af4f05d162 (patch) | |
tree | 774141953af3b25ead6d9203ba7744670f5f9d83 /resources/libraries/bash/shell/k8s_utils.sh | |
parent | 638391c368a5539f2b9920a43302254070440a1f (diff) |
CSIT-1316 Fix ligato building mechanics in CSIT bootstraps
Change-Id: Ia8da73cbf7ab213b61a330b757419330667be24b
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/bash/shell/k8s_utils.sh')
-rw-r--r-- | resources/libraries/bash/shell/k8s_utils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/bash/shell/k8s_utils.sh b/resources/libraries/bash/shell/k8s_utils.sh index 55d3d815c9..ac5ecfa287 100644 --- a/resources/libraries/bash/shell/k8s_utils.sh +++ b/resources/libraries/bash/shell/k8s_utils.sh @@ -18,7 +18,7 @@ function k8s_utils.destroy { kubectl delete node $HOSTNAME # Revert any changes made to this host by 'kubeadm init' or 'kubeadm join' - sudo kubeadm reset && sudo rm -rf $HOME/.kube || \ + sudo kubeadm reset --force && sudo rm -rf $HOME/.kube || \ { echo "Failed to reset kubeadm"; exit 1; } } |