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