18 lines
426 B
Bash
Executable File
18 lines
426 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ./settings.sh
|
|
|
|
# --- Debian 11 Installer
|
|
DIST="bullseye"
|
|
ARCHS="amd64 i386"
|
|
for ARCH in ${ARCHS};
|
|
do
|
|
DEBURL="https://deb.debian.org/debian/dists/${DIST}/main/installer-${ARCH}/current/images/netboot/netboot.tar.gz"
|
|
wget -nc -O ./temp/netboot-${ARCH}.tar.gz $DEBURL
|
|
if [ -e ./temp/netboot-${ARCH}.tar.gz ]; then
|
|
mkdir -p ${TFTP}/free/deb
|
|
tar xfvzC ./temp/netboot-${ARCH}.tar.gz ${TFTP}/free/deb
|
|
fi
|
|
done
|
|
|