Mercurial > code > home > repos > homeauto
changeset 623:048a8df60e2e
fix pushconfig host lookup
Ignore-this: d53a114fdfb3bd3bf355a0c7293a1c7b
author | drewp@bigasterisk.com |
---|---|
date | Wed, 07 Aug 2019 21:06:46 -0700 |
parents | 4880a9868673 |
children | 1249dcc657b8 |
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):