From: Harry Huang Date: Wed, 5 Sep 2018 01:50:57 +0000 (+0800) Subject: Fix downloading lxc image X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fstable%2Ffraser;p=compass4nfv.git Fix downloading lxc image Change-Id: I195a2203c9c998e264c54effc37346fec67c6c6a Signed-off-by: Harry Huang --- 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: