Correct typo

This commit is contained in:
Jeremy Gardais 2016-07-29 15:53:20 +02:00
parent d315aa1236
commit e536e257f5
1 changed files with 9 additions and 10 deletions

View File

@ -13,10 +13,8 @@ TFTP_ROOT="/var/lib/tftpboot"
CONFIG_PXE="${TFTP_ROOT}/installer/debian/menu.cfg.example"
rm -f ${CONFIG_PXE} && touch ${CONFIG_PXE}
for DISTRO in jessie stretch wheezy sid; do # For ALL Debian's version
for ARCH in amd64 i386; do # For all classic architecture
# Config file
echo "label install" >> "${CONFIG_PXE}"
for DISTRO in jessie stretch wheezy sid; do # For ALL Debian's version
for ARCH in amd64 i386; do # For all classic architecture
# Create and go into directory
mkdir -p ${TFTP_ROOT}/installer/debian/${DISTRO}/${ARCH}
@ -29,24 +27,25 @@ for DISTRO in jessie stretch wheezy sid; do # For ALL Debian's version
# Config file
/bin/cat >> "${CONFIG_PXE}" << EOF
menu label Debian GNU/Linux ${DISTRO} ^${ARCH} bits
kernel installer/debian/${DISTRO}/${ARCH}/linux
append vga=normal initrd=installer/debian/${DISTRO}/${ARCH}/initrd.gz -- quiet
label ${DISTRO}${ARCH}
menu label Debian GNU/Linux ${DISTRO} ^${ARCH} bits
kernel installer/debian/${DISTRO}/${ARCH}/linux
append vga=normal initrd=installer/debian/${DISTRO}/${ARCH}/initrd.gz -- quiet
EOF
done
# Config file
/bin/cat >> "${CONFIG_PXE}" << EOF
label separator
menu label ---
menu label ---
EOF
done
# Config file
/bin/cat >> "${CONFIG_PXE}" << EOF
label mainmenu
menu label ^Back...
menu exit
menu label ^Back...
menu exit
EOF
exit 0