Updated Cache server ip (again)
This commit is contained in:
@@ -7,7 +7,7 @@ source:
|
|||||||
same_as: 3.12
|
same_as: 3.12
|
||||||
keyserver: keys.openpgp.org
|
keyserver: keys.openpgp.org
|
||||||
#InitDownloadREPO
|
#InitDownloadREPO
|
||||||
url: http://192.168.200.20/alpine/
|
url: http://192.168.200.3/alpine/
|
||||||
keys:
|
keys:
|
||||||
# 0482D84022F52DF1C4E7CD43293ACD0907D9495A
|
# 0482D84022F52DF1C4E7CD43293ACD0907D9495A
|
||||||
- |-
|
- |-
|
||||||
@@ -550,8 +550,8 @@ packages:
|
|||||||
- name: /etc/apk/repositories
|
- name: /etc/apk/repositories
|
||||||
url: |-
|
url: |-
|
||||||
#StartREPOS
|
#StartREPOS
|
||||||
http://192.168.200.20/alpine//v{{ image.release }}/main
|
http://192.168.200.3/alpine/v{{ image.release }}/main
|
||||||
http://192.168.200.20/alpine/v{{ image.release }}/community
|
http://192.168.200.3/alpine/v{{ image.release }}/community
|
||||||
#EndREPOS
|
#EndREPOS
|
||||||
{% if image.variant == "ddns" %}@TestingEdge http://dl-4.alpinelinux.org/alpine/edge/testing{% endif %}
|
{% if image.variant == "ddns" %}@TestingEdge http://dl-4.alpinelinux.org/alpine/edge/testing{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ image:
|
|||||||
source:
|
source:
|
||||||
downloader: debootstrap
|
downloader: debootstrap
|
||||||
#InitDownloadREPO
|
#InitDownloadREPO
|
||||||
url: http://192.168.200.20/deb.debian.org/debian
|
url: http://192.168.200.3/deb.debian.org/debian
|
||||||
keyserver: keys.openpgp.org
|
keyserver: keys.openpgp.org
|
||||||
keys:
|
keys:
|
||||||
# 0x126C0D24BD8A2942CC7DF8AC7638D0442B90D010
|
# 0x126C0D24BD8A2942CC7DF8AC7638D0442B90D010
|
||||||
@@ -1350,7 +1350,7 @@ actions:
|
|||||||
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/01Recommends
|
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/01Recommends
|
||||||
echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/01Suggests
|
echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/01Suggests
|
||||||
#ProxyCacheSetting
|
#ProxyCacheSetting
|
||||||
echo 'Acquire::http::Proxy "http://192.168.200.20:80";' > /etc/apt/apt.conf.d/01prox
|
echo 'Acquire::http::Proxy "http://192.168.200.3:80";' > /etc/apt/apt.conf.d/01prox
|
||||||
- trigger: post-packages
|
- trigger: post-packages
|
||||||
action: |-
|
action: |-
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ ThisScriptConfigured=no
|
|||||||
UseCache=no
|
UseCache=no
|
||||||
|
|
||||||
#Cache enable (using apt-cacher-NG)
|
#Cache enable (using apt-cacher-NG)
|
||||||
CacheAlpineRepo="http://192.168.200.20/alpine/"
|
CacheAlpineRepo="http://192.168.200.3/alpine/"
|
||||||
CacheDebianCache="http://192.168.200.20:80"
|
CacheDebianCache="http://192.168.200.3:80"
|
||||||
CacheDebianCore="http://192.168.200.20/deb.debian.org/debian"
|
CacheDebianCore="http://192.168.200.3/deb.debian.org/debian"
|
||||||
|
|
||||||
#Cache enable (using Official MirrorServers)
|
#Cache enable (using Official MirrorServers)
|
||||||
DefaultAlpineRepo="http://dl-4.alpinelinux.org/alpine/"
|
DefaultAlpineRepo="http://dl-4.alpinelinux.org/alpine/"
|
||||||
@@ -53,7 +53,7 @@ sed -i -e '/#InitDownloadREPO/a \ url: '$AlpineRepo'' CT-Build/Alpine.yaml
|
|||||||
|
|
||||||
#AlpineRepo
|
#AlpineRepo
|
||||||
sed -i -n '/#StartREPOS/{:a;N;/#EndREPOS/!ba;N;s/.*\n/#HereREPO\n/};p' CT-Build/Alpine.yaml
|
sed -i -n '/#StartREPOS/{:a;N;/#EndREPOS/!ba;N;s/.*\n/#HereREPO\n/};p' CT-Build/Alpine.yaml
|
||||||
sed -i -e 's#\#HereREPO#\ \#StartREPOS\n\ '$AlpineRepo'/v{{ image.release }}/main\n\ '$AlpineRepo'v{{ image.release }}/community\n\ \#EndREPOS#g' CT-Build/Alpine.yaml
|
sed -i -e 's#\#HereREPO#\ \#StartREPOS\n\ '$AlpineRepo'v{{ image.release }}/main\n\ '$AlpineRepo'v{{ image.release }}/community\n\ \#EndREPOS#g' CT-Build/Alpine.yaml
|
||||||
|
|
||||||
#DebianBaseRepo
|
#DebianBaseRepo
|
||||||
sed -i -e '/#InitDownloadREPO/{n;d}' CT-Build/Debian.yaml
|
sed -i -e '/#InitDownloadREPO/{n;d}' CT-Build/Debian.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user