From 1275d3340141829c14f28b8ff0093dee2e5ec7f4 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 8 Jan 2025 14:13:30 -0600 Subject: [PATCH] ubuntu: use old-releases.ubuntu.com for old lunar (going away) Signed-off-by: Robert Nelson --- 06_generate_ubuntu_console_root.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/06_generate_ubuntu_console_root.sh b/06_generate_ubuntu_console_root.sh index 4552871..f96d4ef 100755 --- a/06_generate_ubuntu_console_root.sh +++ b/06_generate_ubuntu_console_root.sh @@ -75,6 +75,9 @@ cp -v ./ignore/.root/etc/bbb.io/templates/nginx/nginx-autoindex ./ignore/.root/e cp -v ./ignore/.root/etc/bbb.io/templates/nginx/*.html ./ignore/.root/var/www/html/ rm -f ./ignore/.root/var/www/html/index.nginx-debian.html || true +#Ubuntu Lunar is eol, switch to old-release for testing... +sed -i -e 's:ports.ubuntu.com:old-releases.ubuntu.com/ubuntu:g' ./ignore/.root/etc//apt/sources.list + if [ -f ./deploy/.modules ] ; then version=$(cat ./deploy/.modules || true) if [ -f ./deploy/${version}-modules.tar.gz ] ; then