From fb4f0fa213748f431e8beb9858ab00ebb26ca8af Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:00 -0400 Subject: [PATCH] Change default mirror --- buildiso.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildiso.sh b/buildiso.sh index 04279f1..2995381 100755 --- a/buildiso.sh +++ b/buildiso.sh @@ -29,7 +29,7 @@ show_help() { echo -e " -o: Create the ISO as instead of the default." echo -e " -u: Change 'deploy' user to a new username." echo -e " -c: Change CPU architecture to a new architecture [x86_64/aarch64]." - echo -e " -m: Change the mirror server (default 'https://mirror.csclub.uwaterloo.ca')." + echo -e " -m: Change the mirror server (default 'https://ftp.debian.org')." echo -e " -a: Preserve live-build artifacts." echo -e " -k: Preserve live-build config." } @@ -101,7 +101,7 @@ if [[ -z ${deployusername} ]]; then deployusername="deploy" fi if [[ -z ${mirror_server} ]]; then - mirror_server="https://mirror.csclub.uwaterloo.ca" + mirror_server="https://ftp.debian.org" fi mkdir -p artifacts/lb @@ -132,6 +132,7 @@ echo "done." # Add root password hook echo -n "Copying live-boot templates... " +mkdir -p config/includes.chroot/etc/live/config.conf.d cat < config/includes.chroot/etc/live/config.conf.d/noeject.conf noeject EOF