maj debian to bookworm + add preseed

main
Grégory Lebreton 11 months ago
parent 6b6132de32
commit e381bbe8f2

@ -28,7 +28,7 @@ sudo umount /mnt
sudo rm -rf /tmp/lmde-6-cinnamon-32bit.iso
# DEBIAN-64 - OK
url="https://ftp.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/netboot.tar.gz"
url="https://ftp.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/netboot.tar.gz"
wget $url
mkdir netboot
tar -xzvf netboot.tar.gz -C netboot
@ -36,7 +36,7 @@ sudo cp -r netboot/. /var/lib/tftpboot/debian-12/64/
sudo rm -rf netboot netboot.tar.gz
# DEBIAN-32(netboot) - OK
url="https://ftp.debian.org/debian/dists/buster/main/installer-i386/current/images/netboot/netboot.tar.gz"
url="https://ftp.debian.org/debian/dists/bookworm/main/installer-i386/current/images/netboot/netboot.tar.gz"
wget $url
mkdir netboot
tar -xzvf netboot.tar.gz -C netboot

@ -56,7 +56,7 @@ sudo systemctl enable smbd
# CREATION DES DOSSIERS DISTRIBS
cd /var/lib/tftpboot
sudo mkdir -p debian-32 debian-12/64 debian-12/32 debian-live-32 debian-live-64 lmde-live-32 lmde-live-64 ubuntu-live kali-live-32 kali-live-64 shredos-32 shredos-64 gparted-live-32 gparted-live-64 windows
sudo mkdir -p debian-12/64 debian-12/32 debian-live-32 debian-live-64 lmde-live-32 lmde-live-64 ubuntu-live kali-live-32 kali-live-64 shredos-32 shredos-64 gparted-live-32 gparted-live-64 windows
cd -
# INSTALL DES DISTRIBS (SCRIPT MAX)
@ -67,6 +67,9 @@ sudo ./get-distribs.sh
# PLACEMENT FICHIERS WINPE + AUTRES WINDOWS
# PRE CONFIG WINPE POUR AUTOBOOT (NETUSE DANS STARTCMD)
# COPIE PRESSED FOR DEBIAN 12
sudo cp ./configs/debian-12-preseed.cfg /var/lib/tftpboot/debian-12/64/
# GOOD RIGHTS (voir pour windows...)
sudo chown -R root:root /var/lib/tftpboot
sudo chmod 755 /var/lib/tftpboot

Loading…
Cancel
Save