From 368b9c01375d2c2a0b0cfa80d5e568f5894485bc Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Mon, 6 Aug 2018 14:54:59 -0500 Subject: [PATCH] Remove destroy reminent grouped containers This was a provider specific command which can be removed as it could remove unintended containers. Change-Id: I179565f84fd8176cbcb79eacc8e63e0fef554223 --- leap-upgrades/upgrade-utilities/destroy-old-containers.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/leap-upgrades/upgrade-utilities/destroy-old-containers.yml b/leap-upgrades/upgrade-utilities/destroy-old-containers.yml index fc54977c..a92552d9 100644 --- a/leap-upgrades/upgrade-utilities/destroy-old-containers.yml +++ b/leap-upgrades/upgrade-utilities/destroy-old-containers.yml @@ -76,7 +76,3 @@ failed_when: false - name: Update apt-cache command: apt-get update - - name: Search for and destroy reminent RPC grouped containers - shell: >- - lxc-ls -f | awk '/rpc/ {print $1}' | grep -v -e "neutron_agent" -e "ceph" | xargs -n 1 lxc-destroy -fn - failed_when: false