diff --git a/image-recipe/_archived/build-auto-installer-iso.sh b/image-recipe/_archived/build-auto-installer-iso.sh index 453979f4..4dfa92ae 100755 --- a/image-recipe/_archived/build-auto-installer-iso.sh +++ b/image-recipe/_archived/build-auto-installer-iso.sh @@ -838,13 +838,17 @@ set -e # answers AAAA first, wget tries v6 with long timeouts, and debootstrap's # per-package fetch fails ("Couldn't download packages", repro'd twice on # 2026-08-07). Force v4 for every retrieval tool this script drives. -echo 'inet4_only = on' >> /etc/wgetrc APT_V4='-o Acquire::ForceIPv4=true' apt-get $APT_V4 update -qq apt-get $APT_V4 install -y -qq debootstrap squashfs-tools initramfs-tools dosfstools mtools \ grub-efi-amd64-bin grub-pc-bin grub-common isolinux syslinux-common +# wget gets its v4 pin AFTER its package is installed — editing /etc/wgetrc +# beforehand makes dpkg's conffile prompt fatal on a non-interactive shell +# ("end of file on stdin at conffile prompt", repro'd on build #189). +echo 'inet4_only = on' >> /etc/wgetrc + echo " [container] Running debootstrap --variant=minbase..." # ifupdown + isc-dhcp-client added because live-boot's /init writes # /etc/network/interfaces on the target — without ifupdown, /etc/network/