aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-09-05 09:50:57 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-09-05 09:51:43 +0800
commit62a998e04b480df09ad479c63ad836cbc82af5b6 (patch)
tree9ca7bce1e72c6301e9fb6480e4b0ff80b70a376c
parentf99a7eb3d25bb893c144135d3af3109402aac8bd (diff)
Fix downloading lxc imagestable/fraser
Change-Id: I195a2203c9c998e264c54effc37346fec67c6c6a Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rw-r--r--deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch b/deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch
index 14f5f5f0..5ac8d3d3 100644
--- a/deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch
+++ b/deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch
@@ -4,7 +4,7 @@
--dir=/tmp
--out=rootfs.tar.xz
--check-certificate={{ (lxc_hosts_validate_certs | bool) | lower }}
-- {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ lxc_images[0].split(';')[-1] }}rootfs.tar.xz {% endfor %}
+- {% for server in lxc_image_cache_server_mirrors %}{{ server }}{{ item.split(';')[-1] }}rootfs.tar.xz {% endfor %}
+ http://192.168.137.222/download/rootfs.tar.xz
> /var/log/aria2c-image-prestage.log 2>&1
args: