Use run() rather than sudo() to move conf file to ~

This commit is contained in:
troymc 2016-04-27 13:43:40 +02:00
parent 344246096d
commit 12a538a933

View File

@ -141,7 +141,7 @@ def configure_bigchaindb():
@task
def send_confile(confile):
put('confiles/' + confile, 'tempfile')
sudo('mv tempfile ~/.bigchaindb')
run('mv tempfile ~/.bigchaindb')
print('For this node, bigchaindb show-config says:')
run('bigchaindb show-config')