diff options
author | Kaspars Skels <kaspars.skels@att.com> | 2019-12-10 17:27:45 -0600 |
---|---|---|
committer | Kaspars Skels <kaspars.skels@att.com> | 2019-12-10 17:27:45 -0600 |
commit | 8a605dda14aa984c6c33f218a7ac31be8bd04784 (patch) | |
tree | fed8d30ce3d341ed4a5fd71fc80e2be1d28d1536 | |
parent | 66e75472d8460f1b2d4562657da84f4fea206800 (diff) |
Fix: Add restart docker after genesis cleanup
Change-Id: Ib38b7d0d4a85eb6884569eb17a39de7e4714e187
Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
-rwxr-xr-x | tools/deploy.sh | 2 |
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 } |