From ed89525714387c9fa20b30d3fdf5656d498771c7 Mon Sep 17 00:00:00 2001 From: sean Date: Mon, 15 Jul 2019 12:48:10 -0700 Subject: [PATCH] tweaks --- setup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index aae3fc3..fb7ecfd 100644 --- a/setup.sh +++ b/setup.sh @@ -93,6 +93,8 @@ if ! [ "$?" = "0" ]; then fi echo "Done." +# no striped mirror support yet + # special exception for none raid - this just operates the disks like a stripe, for 1 or more disk - *not* recommended if [ "$raidtype" = "none" ]; then raidtype="" @@ -239,12 +241,12 @@ echo "cp /usr/share/zoneinfo/$timezone /etc/localtime" >> /mnt/setup-chroot.sh echo "echo \"Done.\"" >> /mnt/setup-chroot.sh echo "echo \"\"" >> /mnt/setup-chroot.sh -echo "echo \"Installing linux image, bash, screen, tmux, zfs, vim, sharutils, docker, dosfstools, mailutils, openssh, ufw...\"" >> /mnt/setup-chroot.sh +echo "echo \"Installing linux image, bash, screen, tmux, zfs, vim, sharutils, docker, dosfstools, mailutils, openssh, net-utils, ufw...\"" >> /mnt/setup-chroot.sh # preconfigure postfix for no configuration #echo "debconf-set-selections <<< \"postfix postfix/main_mailer_type string 'No configuration'\"" >> /mnt/setup-chroot.sh #echo "debconf-set-selections <<< \"postfix postfix/mailname string $hostname\"" >> /mnt/setup-chroot.sh -echo "errors=\$(DEBCONF_FRONTEND='noninteractive' apt install -y --no-install-recommends linux-image-generic 2>&1 1>/dev/null && DEBCONF_FRONTEND='noninteractive' apt install -y vim bash screen tmux zfs-initramfs dosfstools openssh-server ufw sendmail mailutils docker.io sharutils 2>&1 1>/dev/null)" >> /mnt/setup-chroot.sh +echo "errors=\$(DEBCONF_FRONTEND='noninteractive' apt install -y --no-install-recommends linux-image-generic 2>&1 1>/dev/null && DEBCONF_FRONTEND='noninteractive' apt install -y vim net-tools bash screen tmux zfs-initramfs dosfstools openssh-server ufw sendmail mailutils docker.io sharutils 2>&1 1>/dev/null)" >> /mnt/setup-chroot.sh #echo "DEBCONF_FRONTEND='noninteractive' apt install -y --no-install-recommends linux-image-generic && apt install -y vim bash screen tmux zfs-initramfs dosfstools openssh-server ufw sendmail mailutils docker.io sharutils" >> /mnt/setup-chroot.sh @@ -255,6 +257,7 @@ echo "fi">> /mnt/setup-chroot.sh echo "echo \"Done.\"" >> /mnt/setup-chroot.sh # configure docker storage to use zfs +mkdir -p /mnt/etc/docker echo "{\"storage-driver\":\"zfs\"}" > /mnt/etc/docker/daemon.json echo 'echo ""' >> /mnt/setup-chroot.sh