From 3a0a4863adc739b683277ca314fb0d7cf4d08d4c Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Mon, 30 Jun 2025 16:49:45 -0400 Subject: [PATCH] TOOL-28181 internal-dev not configured with mirror apt sources PR URL: https://www.github.com/delphix/appliance-build/pull/827 --- .../config/hooks/vm-artifacts/83-etc-apt-sources-list.binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/config/hooks/vm-artifacts/83-etc-apt-sources-list.binary b/live-build/config/hooks/vm-artifacts/83-etc-apt-sources-list.binary index 40aee271..fb8258ff 100755 --- a/live-build/config/hooks/vm-artifacts/83-etc-apt-sources-list.binary +++ b/live-build/config/hooks/vm-artifacts/83-etc-apt-sources-list.binary @@ -33,9 +33,9 @@ chroot binary bash -c 'rm -f /etc/apt/sources.list /etc/apt/sources.list.d/*' # sources configuration that points to our internal Ubuntu mirror. # if [[ $APPLIANCE_VARIANT = "internal-dev" ]]; then - cat <<-EOF >/etc/apt/sources.list.d/delphix.list + chroot binary bash -c 'cat <<-EOF >/etc/apt/sources.list.d/delphix.list deb http://linux-package-mirror-v2.delphix.com/develop/latest/ubuntu noble main restricted multiverse universe deb http://linux-package-mirror-v2.delphix.com/develop/latest/ubuntu noble-updates main restricted multiverse universe deb http://linux-package-mirror-v2.delphix.com/develop/latest/ubuntu noble-security main - EOF + EOF' fi