aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-04 20:05:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-01-04 21:19:11 +0100
commitd3d3a83d39ee36567e495a9bf2489de49b803f4b (patch)
treeedac722394ffca5fc4d55d2a75a13d60d684ae0b
parent5f46640fe2d5ee5f18526df36fe0047be4abe431 (diff)
downloaddebian-edu-fai+itzks-d3d3a83d39ee36567e495a9bf2489de49b803f4b.tar.gz
debian-edu-fai+itzks-d3d3a83d39ee36567e495a9bf2489de49b803f4b.tar.bz2
debian-edu-fai+itzks-d3d3a83d39ee36567e495a9bf2489de49b803f4b.zip
conf/debian-edu/fai/debian-edu-fai.TEMPLATE/: Add nfsroot conf template for debian-edu-fai(install).
-rw-r--r--conf/debian-edu/fai/debian-edu-fai.TEMPLATE/NFSROOT80
-rw-r--r--conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/sources.list.in11
-rw-r--r--conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/trusted.gpg.d/fai-project.gpgbin0 -> 2824 bytes
-rw-r--r--conf/debian-edu/fai/debian-edu-fai.TEMPLATE/fai.conf.in7
-rw-r--r--conf/debian-edu/fai/debian-edu-fai.TEMPLATE/nfsroot.conf.in21
5 files changed, 119 insertions, 0 deletions
diff --git a/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/NFSROOT b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/NFSROOT
new file mode 100644
index 0000000..7b80153
--- /dev/null
+++ b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/NFSROOT
@@ -0,0 +1,80 @@
+# package list for creating the NFSROOT
+
+PACKAGES install-norec FULL
+nfs-common fai-nfsroot rpcbind
+rsync
+lshw procinfo
+dump reiserfsprogs xfsprogs xfsdump btrfs-progs
+hwinfo hdparm smartmontools nvme-cli
+rdate
+zile
+numactl
+udns-utils
+netcat-traditional nmap
+pxelinux syslinux-common
+ca-certificates # for get-config-dir-https and apt-transport-https
+usbutils pciutils
+ssh
+netselect
+mdadm
+#git # git consumes a lot of disk space on the FAI CD
+
+PACKAGES install-norec
+# dracut replaces live-boot and initramfs-tools
+dracut live-boot- initramfs-tools-
+dracut-config-generic
+dracut-network
+sysvinit-core systemd-sysv-
+curl lftp
+less
+ntpdate
+dosfstools
+lvm2
+psmisc
+dialog
+console-common kbd
+xz-utils pigz
+fping
+
+# some network cards needs firmware
+PACKAGES install-norec NONFREE
+firmware-bnx2 firmware-bnx2x firmware-realtek
+firmware-cavium
+firmware-misc-nonfree
+
+
+# you should not edit the lines below
+# architecture dependend list of packages that are installed
+
+PACKAGES install-norec I386
+grub-pc
+efibootmgr
+linux-image-686-pae
+
+PACKAGES install-norec AMD64
+grub-pc
+grub-efi-amd64-bin
+efibootmgr
+linux-image-amd64
+#linux-image-amd64/bullseye-backports # if you want to use a newer kernel
+
+PACKAGES install-norec ARM64
+grub-efi-arm64
+efibootmgr
+linux-image-arm64
+
+PACKAGES install-norec ARMHF
+grub-efi-arm
+efibootmgr
+linux-image-armmp
+
+PACKAGES install-norec DEBIAN_9
+apt-transport-https
+
+PACKAGES install-norec DEBIAN_10
+fdisk gpg
+
+PACKAGES install-norec DEBIAN_11
+fdisk gpg
+
+PACKAGES install-norec DEBIAN_12 DEBIAN_
diff --git a/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/sources.list.in b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/sources.list.in
new file mode 100644
index 0000000..0c68ac2
--- /dev/null
+++ b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/sources.list.in
@@ -0,0 +1,11 @@
+# These lines should work for many sites
+
+deb @mirrorurl@ @codename@ main contrib non-free
+deb @mirrorurl@-security @codename@-security main contrib non-free
+#deb @mirrorurl@ @codename@-backports main contrib non-free
+
+# from @codename@ on you need
+#deb @mirrorurl@-security @codename@-security main contrib non-free
+
+# repository that may contain newer fai packages for @codename@
+#deb http://fai-project.org/download @codename@ koeln
diff --git a/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/trusted.gpg.d/fai-project.gpg b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/trusted.gpg.d/fai-project.gpg
new file mode 100644
index 0000000..0d5b7a9
--- /dev/null
+++ b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/apt/trusted.gpg.d/fai-project.gpg
Binary files differ
diff --git a/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/fai.conf.in b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/fai.conf.in
new file mode 100644
index 0000000..19400f6
--- /dev/null
+++ b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/fai.conf.in
@@ -0,0 +1,7 @@
+# debian-edu-fai adapted fa.conf...
+
+# See fai.conf(5) for detailed information.
+
+# Account for saving log files and calling fai-chboot.
+#LOGUSER='@fai_loguser@'
+#LOGSERVER='@fai_logserver@' \ No newline at end of file
diff --git a/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/nfsroot.conf.in b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/nfsroot.conf.in
new file mode 100644
index 0000000..1879782
--- /dev/null
+++ b/conf/debian-edu/fai/debian-edu-fai.TEMPLATE/nfsroot.conf.in
@@ -0,0 +1,21 @@
+# debian-edu-fai adapted nfsroot.conf...
+
+# For a detailed description see nfsroot.conf(5)
+
+# "<suite> <mirror>" for debootstrap
+FAI_DEBOOTSTRAP="@codename@ @mirrorurl@"
+# this is the hashed version of the password 'fai'
+#FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
+FAI_ROOTPW='@rootpw@'
+
+NFSROOT=/srv/fai/nfsroots.debian-edu-fai/@arch@+@codename@
+TFTPROOT=/srv/tftp/fai.@arch@+@codename@ # don't change this, we won't use it...
+NFSROOT_HOOKS=/etc/fai/debian-edu-fai/@arch@+@codename@/nfsroot-hooks/
+FAI_DEBOOTSTRAP_OPTS="--arch=@arch@"
+
+# Configuration space (should be left as is, all FAI installers should use the same config space)
+FAI_CONFIGDIR=/srv/fai/config
+
+# Import an authorized_keys file (or id_<crypto>.pub) into the FAI nfsroot
+# so that ssh root@<fai-client> is possible without password authentication.
+#SSH_IDENTITY=/root/.ssh/authorized_keys