Change default mirror

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:00 -04:00
parent dff5dc3878
commit fb4f0fa213
1 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@ show_help() {
echo -e " -o: Create the ISO as <output_filename> 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 <<EOF > config/includes.chroot/etc/live/config.conf.d/noeject.conf
noeject
EOF