Mercurial > code > home > repos > homeauto
diff service/arduinoNode/tasks.py @ 623:048a8df60e2e
fix pushconfig host lookup
Ignore-this: d53a114fdfb3bd3bf355a0c7293a1c7b
author | drewp@bigasterisk.com |
---|---|
date | Wed, 07 Aug 2019 21:06:46 -0700 |
parents | 686079900c20 |
children | a93fbf0d0daa |
line wrap: on
line diff
--- 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):