Use username and password from "os" in nodes.json
[icn.git] / env / metal3 / 06_host_cleanup.sh
index 641e31e..f82636a 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -x
+set -eux -o pipefail
+
 LIBDIR="$(dirname "$PWD")"
 
 source $LIBDIR/lib/common.sh
@@ -16,7 +17,6 @@ brctl delbr provisioning
 ip link set dhcp0 down
 brctl delbr dhcp0
 
-rm -rf ${BS_DHCP_DIR}
 rm -rf ${IRONIC_DATA_DIR}
 
 #Kubeadm usage is deprecated in v1.0.0