diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-03-23 02:03:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-23 02:03:42 +0000 |
commit | 1f2aa321b64d65487d77cfd6bd51c9c9903b9a7b (patch) | |
tree | 87ae3179a9789a557986dd22c3c81190f5cfb899 /deploy | |
parent | 468567824ebdc6a64fb62be4962fd7d75e9c9a20 (diff) | |
parent | 9896291cd4f04519acc33ceeb5f9149174b2eb81 (diff) |
Merge "use local cirros image in post-deploy script"
Diffstat (limited to 'deploy')
-rw-r--r-- | deploy/post/execute.py | 2 |
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, |