Remove Wheezy and add Stretch for Debian
This commit is contained in:
parent
2fcb7e5560
commit
b0c0aa37e2
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script do the following:
|
||||
# Download Debian Stable
|
||||
# Download Debian Testing
|
||||
# Download Debian Unstable
|
||||
# Download Debian Stable (jessie)
|
||||
# Download Debian Testing (stretch)
|
||||
# Download Debian Unstable (sid)
|
||||
# Make an PXE's config file (aka menu.cfg)
|
||||
|
||||
TFTP_ROOT="/var/lib/tftpboot"
|
||||
|
@ -12,7 +12,7 @@ TFTP_ROOT="/var/lib/tftpboot"
|
|||
CONFIG_PXE="${TFTP_ROOT}/installer/debian/menu.cfg.example"
|
||||
rm -f ${CONFIG_PXE} && touch ${CONFIG_PXE}
|
||||
|
||||
for DISTRO in wheezy jessie sid; do # For ALL Debian's version
|
||||
for DISTRO in jessie stretch sid; do # For ALL Debian's version
|
||||
for ARCH in amd64 i386; do # For all classic architecture
|
||||
# Config file
|
||||
echo "label install" >> "${CONFIG_PXE}"
|
||||
|
@ -48,4 +48,4 @@ label mainmenu
|
|||
menu exit
|
||||
EOF
|
||||
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue