summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKaspars Skels <kaspars.skels@att.com>2019-12-10 17:27:45 -0600
committerKaspars Skels <kaspars.skels@att.com>2019-12-10 17:27:45 -0600
commit8a605dda14aa984c6c33f218a7ac31be8bd04784 (patch)
treefed8d30ce3d341ed4a5fd71fc80e2be1d28d1536 /tools
parent66e75472d8460f1b2d4562657da84f4fea206800 (diff)
Fix: Add restart docker after genesis cleanup
Change-Id: Ib38b7d0d4a85eb6884569eb17a39de7e4714e187 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/deploy.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/deploy.sh b/tools/deploy.sh
index d226686..a65cb6b 100755
--- a/tools/deploy.sh
+++ b/tools/deploy.sh
@@ -71,6 +71,8 @@ genesis_cleanup() {
ssh $GEN_SSH sudo parted -s /dev/sdb mklabel gpt
ssh $GEN_SSH sudo rm -rf /var/lib/ceph
ssh $GEN_SSH sudo rm -rf /var/lib/docker
+
+ ssh $GEN_SSH sudo /etc/init.d/docker restart
}