Skip to content
Snippets Groups Projects
Unverified Commit 0d93e7ef authored by anarcat's avatar anarcat
Browse files

turn packaging list and luks config into post-scripts

This is so we have one less thing to do by hand in the installer.
parent 4663f789
No related branches found
No related tags found
No related merge requests found
......@@ -112,27 +112,11 @@ which we'll use below.
mkdir -p /target/run && mount -t tmpfs tgt-run /target/run &&
mkdir /target/run/udev && mount -o bind /run/udev /target/run/udev &&
apt-get install -y grml-debootstrap && \
sed -e 's/postfix//;
s/vlan//;
s/bridge-utils//;
s/ifenslave//;
s/resolvconf//;
s/zsh//;
s/strace//;
s/os-prober//;
s/bzip2//;
s/file//;
s/lsof//;
s/most//;
$adbus
$acryptsetup-initramfs
' /etc/debootstrap/packages > /root/grml-packages &&
mkdir -p /etc/debootstrap/post-scripts/ &&
cp /root/tsa-misc/installer/tor-install-luks-setup /etc/debootstrap/post-scripts/ &&
grml-debootstrap --grub "$BOOT_DISK" --target /target \
--hostname `hostname` --release buster \
--mirror https://mirror.hetzner.de/debian/packages/ \
--packages /root/grml-packages \
--packages /root/tsa-misc/installer/packages \
--post-scripts /root/tsa-misc/installer/post-scripts/ \
--password "$ROOTPASSWORD" \
--sshcopyid \
--remove-configs --defaultinterfaces &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment