The hostname for install a new host with LUKS and ecryptfs support is called "sfreetop*".
The new classes have been added: LUKS and ECRYPTFS.
freetop*)
echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT"
;;
-
+ sfreetop*)
+ echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT LUKS ECRYPTFS"
+ ;;
libretop*)
echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP LPCONF"
;;
FAI_ALLOW_UNSIGNED=1
CONSOLEFONT=
-KEYMAP=us-latin1
+KEYMAP=us
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=yes
STOP_ON_ERROR=700
# use the new partitioning tool
-USE_SETUP_STORAGE=1
+#USE_SETUP_STORAGE=1
# These values need to be in both fai.conf and the config space:
-FAI_CONFIG_SRC=https://vcs.fsf.org/git/fai-configs.git
+#FAI_CONFIG_SRC=https://vcs.fsf.org/git/fai-configs.git
-MNTPOINT=/srv/fai/mirror
+#MNTPOINT=/srv/fai/mirror
-FAI=/srv/fai/config
+#FAI=/srv/fai/config
--- /dev/null
+disk_config disk1
+
+primary /boot 500 ext4 rw
+primary - 12G - -
+primary /home 100-100% xfs rw
+
+disk_config cryptsetup
+luks:"fsfluks" - disk1.2 - -
+
+disk_config lvm
+vg fsf disk1.2
+fsf-root / 4096- ext4 rw,errors=remount-ro
+fsf-swap swap 2G swap sw
PACKAGES aptitude CHROOT
linux-image-generic
-
PACKAGES aptitude AMD64
-linux-image-generic initramfs-tools
-memtest86
+linux-image-4.2.0-35-lowlatency initramfs-tools
+#memtest86
PACKAGES aptitude XEN
xen-linux-system-2.6.26-2-xen-amd64
--- /dev/null
+PACKAGES aptitude ECRYPTFS
+ecryptfs-utils
git
manpages
man-db
-rsyslog-
syslog-ng
autoconf
automake
--- /dev/null
+#! /bin/bash
+
+# Set the hostname
+if [ -n $HOSTNAME ]; then
+ echo $HOSTNAME > $target/etc/hostname
+fi
+
+# Bug fix: ecryptfs needs /etc/mtab
+$ROOTCMD touch /etc/mtab
+# Create a local admin user
+$ROOTCMD adduser --disabled-password --gecos "" --shell /bin/bash --encrypt-home fsf 2> /dev/null
+$ROOTCMD echo -e "fsf\nfsf" | passwd fsf
+
+#$ROOTCMD adduser --disabled-password --gecos "" --shell /bin/bash fsf
+#$ROOTCMD echo -e "fsf\nfsf" | passwd fsf
+#$ROOTCMD sudo -u fsf -H bash -c "ecryptfs-setup-private -u fsf -l fsf -m ' '"