manage_testnet_hosts.nims: sometimes containers cannot be stopped

because they are not running
This commit is contained in:
Ștefan Talpalaru 2020-02-26 17:59:31 +01:00
parent c2c570fcb0
commit 532fac69f3
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ of reset_network:
if keysList.len > 0:
echo &" rsync -a -zz {keysList} {n.server}:/tmp/nimbus/keys/ && \\"
echo &" ssh {n.server} 'sudo docker container stop {n.container} && " &
echo &" ssh {n.server} 'sudo docker container stop {n.container}; " &
&"sudo mkdir -p {dockerPath}/validators && " &
&"sudo rm -rf {dockerPath}/validators/* && " &
&"sudo rm -rf {dockerPath}/db && " &