mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-15 02:10:44 +00:00
03e1559989
The Ubuntu live-server ISO copycds imports is not a complete apt pool, so both Ubuntu install paths fail without an external mirror: the netboot genimage's debootstrap from the ISO-only pkgdir cannot resolve packages, and the Subiquity diskful install (Template.pm) fell back to the airgapped file:///cdrom config. Default site.ubuntu_apt_mirror to http://archive.ubuntu.com/ubuntu when unset (overridable for local/geo/ ports mirrors). In the Ubuntu genimage, when pkgdir has no http mirror, build the debootstrap source and chroot sources.list from that mirror with the codename derived from osvers and the release/-updates/-security pockets (main + universe) -- the compute pkglist needs universe (busybox-static, dracut*) and the security-updated openssh. Ubuntu-only; EL netboot (netboot/rh) and copycds/packimage are untouched. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>