From b5586878f08a54c27adae7c06d813bafdef0bfff Mon Sep 17 00:00:00 2001 From: nospoonuser Date: Tue, 22 May 2018 21:41:24 +0200 Subject: [PATCH] added debian installer --- scripts/iso.sh | 4 ++++ scripts/pxe.sh | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/scripts/iso.sh b/scripts/iso.sh index fbd6223..56c19e4 100755 --- a/scripts/iso.sh +++ b/scripts/iso.sh @@ -35,6 +35,10 @@ if [ "$ISO_INCLUDE_UBUNTU_INSTALLER" == "true" ]; then [ -L $ISODIR/ubuntu-installer ] || ln -s ../INSTALLER/ubuntu-installer $ISODIR/ubuntu-installer fi +if [ "$PXE_INCLUDE_DEBIAN_INSTALLER" == "true" ]; then + menuinstaller debian >> $PXEDIR/pxelinux/pxelinux.cfg/default + [ -L $PXEDIR/debian-installer ] || ln -s ../INSTALLER/debian-installer $PXEDIR/debian-installer +fi if [ "$ISO_INCLUDE_HDT" == "true" ] || [ "$ISO_INCLUDE_MEMTEST" == "true" ]; then menuhwhead >> $ISODIR/isolinux/isolinux.cfg diff --git a/scripts/pxe.sh b/scripts/pxe.sh index d75ddf4..016c23a 100755 --- a/scripts/pxe.sh +++ b/scripts/pxe.sh @@ -36,6 +36,11 @@ if [ "$PXE_INCLUDE_UBUNTU_INSTALLER" == "true" ]; then [ -L $PXEDIR/ubuntu-installer ] || ln -s ../INSTALLER/ubuntu-installer $PXEDIR/ubuntu-installer fi +if [ "$PXE_INCLUDE_DEBIAN_INSTALLER" == "true" ]; then + menuinstaller debian >> $PXEDIR/pxelinux/pxelinux.cfg/default + [ -L $PXEDIR/debian-installer ] || ln -s ../INSTALLER/debian-installer $PXEDIR/debian-installer +fi + if [ "$PXE_INCLUDE_HDT" == "true" ] || [ "$PXE_INCLUDE_MEMTEST" == "true" ]; then menuhwhead >> $PXEDIR/pxelinux/pxelinux.cfg/default