Mercurial > code > home > repos > homeauto
changeset 1426:c3c2418d138c
fix pushconfig host lookup
Ignore-this: d53a114fdfb3bd3bf355a0c7293a1c7b
darcs-hash:6306237a7df35fffb57f27c31a971107608f979e
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 07 Aug 2019 21:06:46 -0700 |
parents | 75aaa0547d55 |
children | 6bd36e5e109f |
files | service/arduinoNode/pushConfig.py service/arduinoNode/tasks.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/service/arduinoNode/pushConfig.py Wed Aug 07 21:06:04 2019 -0700 +++ b/service/arduinoNode/pushConfig.py Wed Aug 07 21:06:46 2019 -0700 @@ -4,7 +4,7 @@ from twisted.python.filepath import FilePath -etcd = etcd3.client(host='bang6', port=9022) +etcd = etcd3.client(host='bang', port=9022) prefix, = sys.argv[1:]
--- a/service/arduinoNode/tasks.py Wed Aug 07 21:06:04 2019 -0700 +++ b/service/arduinoNode/tasks.py Wed Aug 07 21:06:46 2019 -0700 @@ -23,7 +23,7 @@ @task def push_config(ctx): - ctx.run(f'docker run --rm --net=host -v `pwd`/config:/opt/config bang6:5000/arduino_node python pushConfig.py arduino/') + ctx.run(f'docker run --rm --net=host --dns 10.2.0.1 --dns-search bigasterisk.com -v `pwd`/config:/opt/config bang6:5000/arduino_node python pushConfig.py arduino/') @task(pre=[push_image]) def redeploy(ctx):