From 62a998e04b480df09ad479c63ad836cbc82af5b6 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Wed, 5 Sep 2018 09:50:57 +0800 Subject: Fix downloading lxc image Change-Id: I195a2203c9c998e264c54effc37346fec67c6c6a Signed-off-by: Harry Huang --- deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit 1.2.3-korg