Correct typo
This commit is contained in:
parent
d315aa1236
commit
e536e257f5
|
@ -13,10 +13,8 @@ TFTP_ROOT="/var/lib/tftpboot"
|
||||||
CONFIG_PXE="${TFTP_ROOT}/installer/debian/menu.cfg.example"
|
CONFIG_PXE="${TFTP_ROOT}/installer/debian/menu.cfg.example"
|
||||||
rm -f ${CONFIG_PXE} && touch ${CONFIG_PXE}
|
rm -f ${CONFIG_PXE} && touch ${CONFIG_PXE}
|
||||||
|
|
||||||
for DISTRO in jessie stretch wheezy sid; do # For ALL Debian's version
|
for DISTRO in jessie stretch wheezy sid; do # For ALL Debian's version
|
||||||
for ARCH in amd64 i386; do # For all classic architecture
|
for ARCH in amd64 i386; do # For all classic architecture
|
||||||
# Config file
|
|
||||||
echo "label install" >> "${CONFIG_PXE}"
|
|
||||||
|
|
||||||
# Create and go into directory
|
# Create and go into directory
|
||||||
mkdir -p ${TFTP_ROOT}/installer/debian/${DISTRO}/${ARCH}
|
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
|
# Config file
|
||||||
/bin/cat >> "${CONFIG_PXE}" << EOF
|
/bin/cat >> "${CONFIG_PXE}" << EOF
|
||||||
menu label Debian GNU/Linux ${DISTRO} ^${ARCH} bits
|
label ${DISTRO}${ARCH}
|
||||||
kernel installer/debian/${DISTRO}/${ARCH}/linux
|
menu label Debian GNU/Linux ${DISTRO} ^${ARCH} bits
|
||||||
append vga=normal initrd=installer/debian/${DISTRO}/${ARCH}/initrd.gz -- quiet
|
kernel installer/debian/${DISTRO}/${ARCH}/linux
|
||||||
|
append vga=normal initrd=installer/debian/${DISTRO}/${ARCH}/initrd.gz -- quiet
|
||||||
EOF
|
EOF
|
||||||
done
|
done
|
||||||
|
|
||||||
# Config file
|
# Config file
|
||||||
/bin/cat >> "${CONFIG_PXE}" << EOF
|
/bin/cat >> "${CONFIG_PXE}" << EOF
|
||||||
label separator
|
label separator
|
||||||
menu label ---
|
menu label ---
|
||||||
EOF
|
EOF
|
||||||
done
|
done
|
||||||
|
|
||||||
# Config file
|
# Config file
|
||||||
/bin/cat >> "${CONFIG_PXE}" << EOF
|
/bin/cat >> "${CONFIG_PXE}" << EOF
|
||||||
label mainmenu
|
label mainmenu
|
||||||
menu label ^Back...
|
menu label ^Back...
|
||||||
menu exit
|
menu exit
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue