Commit b7c333f0 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

Download Debian 11 by default in Lille office

parent c0921d1d
......@@ -6,7 +6,7 @@ SCRIPT_DIR=$(realpath `dirname "$0"`)
. $SCRIPT_DIR/download_boot_systems.sh
download_debian_10_if_needed
download_debian_11_if_needed
download_ubuntu_20_if_needed
#download_sysrescuecd_if_needed
......
......@@ -10,6 +10,16 @@ then
ln -s debian-installer/amd64/grubx64.efi
fi
}
download_debian_11_if_needed() {
if [ ! -d debian-installer ]
then
rm -f netboot.tar.gz
rm -f grubx64.efi
wget http://ftp.debian.org/debian/dists/bullseye/main/installer-amd64/current/images/netboot/netboot.tar.gz
tar -xzvf netboot.tar.gz
ln -s debian-installer/amd64/grubx64.efi
fi
}
download_sysrescuecd_if_needed() {
if [ ! -f sysresccd/sysresccd/pkglist.x86_64.txt ]
then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment