[debian-lan-devel] [debian-lan] 03/06: Fixes for di-netboot-assistant.
Andreas B. Mundt
andi at moszumanska.debian.org
Fri Aug 5 10:45:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
andi pushed a commit to branch master
in repository debian-lan.
commit 723f758c495121493f2cea53fa515c1ccb0bad32
Author: Andreas B. Mundt <andi at debian.org>
Date: Thu Aug 4 21:24:18 2016 +0200
Fixes for di-netboot-assistant.
---
fai/config/package_config/FAISERVER | 2 ++
fai/config/scripts/FAISERVER/50-di-netboot | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/fai/config/package_config/FAISERVER b/fai/config/package_config/FAISERVER
index da65d2e..2be3cdf 100644
--- a/fai/config/package_config/FAISERVER
+++ b/fai/config/package_config/FAISERVER
@@ -13,4 +13,6 @@ git
## PXE installer:
di-netboot-assistant
+debian-installer-8-netboot-amd64
+debian-installer-8-netboot-i386
pxelinux
diff --git a/fai/config/scripts/FAISERVER/50-di-netboot b/fai/config/scripts/FAISERVER/50-di-netboot
index 8a88743..15fe9c4 100755
--- a/fai/config/scripts/FAISERVER/50-di-netboot
+++ b/fai/config/scripts/FAISERVER/50-di-netboot
@@ -100,12 +100,12 @@ EOF
$ROOTCMD chmod -R o+rX /var/www/html/d-i
fi
-$ROOTCMD di-netboot-assistant install $DISTRI --arch=amd64
-$ROOTCMD di-netboot-assistant install $DISTRI --arch=i386
-$ROOTCMD di-netboot-assistant rebuild-menu
+$ROOTCMD mkdir -p /srv/tftp/di-netboot-pkg/
+$ROOTCMD ainsl /etc/fstab "/usr/lib/debian-installer/ /srv/tftp/di-netboot-pkg/ none bind 0 0"
+$ROOTCMD di-netboot-assistant -v rebuild-menu
# chain.c32 is needed to boot from the local hard disk:
-$ROOTCMD cp /usr/lib/syslinux/modules/bios/chain.c32 /srv/tftp/debian-installer/
+# $ROOTCMD cp /usr/lib/syslinux/modules/bios/chain.c32 /srv/tftp/debian-installer/
#wheezy:
#d-i preseed/late_command string mkdir -p /target/var/lib/fai/config; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/debian-lan.git
More information about the debian-lan-devel
mailing list