mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-26 10:51:15 +00:00
feat(apt-cacher-ng): add avahi-daemon for mDNS service discovery (#11140)
apt-cacher-ng ships with Avahi service config but needs avahi-daemon to advertise itself via mDNS for auto-apt-proxy discovery. Closes #11101
This commit is contained in:
parent
be154d9a20
commit
92d33ee5e9
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ network_check
|
|||
update_os
|
||||
|
||||
msg_info "Installing Apt-Cacher NG"
|
||||
DEBIAN_FRONTEND=noninteractive $STD apt -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng
|
||||
DEBIAN_FRONTEND=noninteractive $STD apt -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng avahi-daemon
|
||||
sed -i 's/# PassThroughPattern: .* # this would allow CONNECT to everything/PassThroughPattern: .*/' /etc/apt-cacher-ng/acng.conf
|
||||
cat <<EOF >/etc/apt/apt.conf.d/00aptproxy.conf
|
||||
Acquire::http::Proxy "http://localhost:3142";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue