summaryrefslogtreecommitdiffstats
path: root/apex/undercloud
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-04-06 14:55:00 -0400
committerTim Rozet <trozet@redhat.com>2018-04-06 14:55:00 -0400
commit3812d0987d078a8a0ad93724e8188994b7579e50 (patch)
treebd113a39dc347fee791f15aaeb5036103e3b1f22 /apex/undercloud
parentc8f07fda6445b9b3b1fcb9d97f05cd40fffe8daf (diff)
Fixes delorean repo update on undercloud
Previous fix to update delorean repo on undercloud was always failing because the operations passed to virt-customize were not in a list type. JIRA: APEX-565 Change-Id: Ic883309ac1c3aa6027dc252635e404e5355c269d Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'apex/undercloud')
-rw-r--r--apex/undercloud/undercloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/undercloud/undercloud.py b/apex/undercloud/undercloud.py
index 2972351c..d76174b0 100644
--- a/apex/undercloud/undercloud.py
+++ b/apex/undercloud/undercloud.py
@@ -276,7 +276,7 @@ class Undercloud:
cmd = ("curl -L -f -o "
"/etc/yum.repos.d/deloran.repo {}".format(delorean_repo))
try:
- virt_utils.virt_customize({constants.VIRT_RUN_CMD: cmd},
+ virt_utils.virt_customize([{constants.VIRT_RUN_CMD: cmd}],
self.volume)
except Exception:
logging.warning("Failed to download and update delorean repo "