Disabled Proxy by default and added custom proxy option to jeninsfile

This commit is contained in:
2022-06-30 22:04:13 +02:00
parent 75a54c4fc2
commit 66e16943bc
5 changed files with 25 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ image:
source:
downloader: debootstrap
#InitDownloadREPO
url: http://192.168.200.11/deb.debian.org/debian
url: http://deb.debian.org/debian
keyserver: keys.openpgp.org
keys:
# 0x126C0D24BD8A2942CC7DF8AC7638D0442B90D010
@@ -1412,7 +1412,7 @@ actions:
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/01Recommends
echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/01Suggests
#ProxyCacheSetting
echo 'Acquire::http::Proxy "http://192.168.200.11:80";' > /etc/apt/apt.conf.d/01prox
echo '#CacheServer not set' > /etc/apt/apt.conf.d/01prox
- trigger: post-packages
action: |-
#!/bin/sh