summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
c5f4fd7)
When host cleanup is run after a failed install, the provisioning and
dhcp0 bridges may not exist. Continue with cleanup steps when they do
not.
Issue-ID: ICN-525
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia9ed6024f823d9398696c0cbcb7cd3c03a7c19d7
sudo docker ps --all | grep -w "$name$" && sudo docker rm "$name" -f
done
sudo docker ps --all | grep -w "$name$" && sudo docker rm "$name" -f
done
-ip link set provisioning down
-brctl delbr provisioning
+ip link set provisioning down || true
+brctl delbr provision || true
-ip link set dhcp0 down
-brctl delbr dhcp0
+ip link set dhcp0 down || true
+brctl delbr dhcp0 || true
rm -rf ${IRONIC_DATA_DIR}
rm -rf ${IRONIC_DATA_DIR}
-
-#Kubeadm usage is deprecated in v1.0.0
-#kubeadm reset -f
-#iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X
-#rm -rf $HOME/.kube/config
-#rm -rf /var/lib/etcd