Commit 9706f72c authored by Boxiang Sun's avatar Boxiang Sun

slapos-standalone: Use shacahe.org as network cache

parent c7506550
......@@ -143,5 +143,26 @@
ctstate: ESTABLISHED,RELATED
jump: ACCEPT
- name: Change the download-binary-cache-url
lineinfile:
path: /etc/opt/slapos/slapos.cfg
regexp: download-binary-cache-url = http://shacache.nxdcdn.com
line: download-binary-cache-url = http://shacache.org/shacache
state: present
- name: Change the download-cache-url
lineinfile:
path: /etc/opt/slapos/slapos.cfg
regexp: download-cache-url = http://shacache.nxdcdn.com
line: download-cache-url = http://shacache.org/shacache
state: present
- name: Change the download--binary-dir-url
lineinfile:
path: /etc/opt/slapos/slapos.cfg
regexp: download-binary-dir-url = http://shadir.nxdcdn.com
line: download-binary-dir-url = http://shacache.org/shadir
state: present
roles:
- slapos-proxy
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment