summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deploy/post/execute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/post/execute.py b/deploy/post/execute.py
index b9665e10..288e949b 100644
--- a/deploy/post/execute.py
+++ b/deploy/post/execute.py
@@ -64,7 +64,7 @@ def _prepare_cirros():
url = 'http://download.cirros-cloud.net'
version = '0.3.5'
name = 'cirros-{}-x86_64-disk.img'.format(version)
- img = os.path.join(os.path.abspath(os.path.dirname(__file__)), name)
+ img = os.path.join("/var/lib/daisy/images", name)
if not os.path.isfile(img):
cmd = "wget %(url)s/%(version)s/%(name)s -O %(path)s" % {
'url': url,