aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/files
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-08-30 17:11:09 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-08-30 17:13:08 +0800
commite42f2edf8f4bd81416f815dfb8899cc7f89af4f4 (patch)
tree3465f453beffd7b53f7089ecf5cae48384c133e6 /deploy/adapters/ansible/roles/config-osa/files
parentc51e937d7a121f8a267f0522fb787adbfb1a7eb9 (diff)
Modify download url for lxc image
JIRA: COMPASS-607 Download lxc image from a local server in huawei lab to avoid lxc pre-staged failur Change-Id: Ia941d9e883ab5a4ff9c839e65e53703c6c237461 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/files')
-rw-r--r--deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch11
1 files changed, 11 insertions, 0 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
new file mode 100644
index 00000000..14f5f5f0
--- /dev/null
+++ b/deploy/adapters/ansible/roles/config-osa/files/lxc_cache_prestage.patch
@@ -0,0 +1,11 @@
+--- lxc_cache_prestage.yml 2018-07-24 07:56:22.480369360 +0000
++++ /tmp/lxc_cache_prestage.yml 2018-07-24 08:17:44.665880308 +0000
+@@ -66,7 +66,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 %}
++ http://192.168.137.222/download/rootfs.tar.xz
+ > /var/log/aria2c-image-prestage.log 2>&1
+ args:
+ warn: no