summaryrefslogtreecommitdiffstats
path: root/apex/deploy.py
diff options
context:
space:
mode:
Diffstat (limited to 'apex/deploy.py')
-rw-r--r--apex/deploy.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/apex/deploy.py b/apex/deploy.py
index dab6bd1e..bc35e91f 100644
--- a/apex/deploy.py
+++ b/apex/deploy.py
@@ -377,10 +377,15 @@ def main():
args.image_dir = os.path.join(args.image_dir, os_version)
upstream_url = constants.UPSTREAM_RDO.replace(
constants.DEFAULT_OS_VERSION, os_version)
- upstream_targets = ['overcloud-full.tar', 'undercloud.qcow2']
+ upstream_targets = ['overcloud-full.tar']
utils.fetch_upstream_and_unpack(args.image_dir, upstream_url,
upstream_targets,
fetch=not args.no_fetch)
+ upstream_targets = ['undercloud.qcow2']
+ utils.fetch_upstream_and_unpack(args.image_dir,
+ constants.UNDERCLOUD_URL,
+ upstream_targets,
+ fetch=not args.no_fetch)
sdn_image = os.path.join(args.image_dir, 'overcloud-full.qcow2')
# copy undercloud so we don't taint upstream fetch
uc_image = os.path.join(args.image_dir, 'undercloud_mod.qcow2')