|
|
|
@ -224,8 +224,8 @@ echo "cp /usr/share/zoneinfo/$timezone /etc/localtime" >> /mnt/setup-chroot.sh
|
|
|
|
echo "echo \"Done.\"" >> /mnt/setup-chroot.sh
|
|
|
|
echo "echo \"Done.\"" >> /mnt/setup-chroot.sh
|
|
|
|
|
|
|
|
|
|
|
|
echo "echo \"\"" >> /mnt/setup-chroot.sh
|
|
|
|
echo "echo \"\"" >> /mnt/setup-chroot.sh
|
|
|
|
echo "echo \"Installing linux image, bash, screen, tmux, zfs, vim, dosfstools, openssh, ufw...\"" >> /mnt/setup-chroot.sh
|
|
|
|
echo "echo \"Installing linux image, bash, screen, tmux, zfs, vim, docker, dosfstools, sendmail, openssh, ufw...\"" >> /mnt/setup-chroot.sh
|
|
|
|
echo "errors=\$(apt install -y --no-install-recommends linux-image-generic 2>&1 1>/dev/null && apt install -y vim bash screen tmux zfs-initramfs dosfstools openssh-server ufw 2>&1 1>/dev/null)" >> /mnt/setup-chroot.sh
|
|
|
|
echo "errors=\$(apt install -y --no-install-recommends linux-image-generic 2>&1 1>/dev/null && apt install -y vim bash screen tmux zfs-initramfs dosfstools openssh-server ufw sendmail docker.io 2>&1 1>/dev/null)" >> /mnt/setup-chroot.sh
|
|
|
|
echo 'if ! [ "$?" = "0" ]; then '>> /mnt/setup-chroot.sh
|
|
|
|
echo 'if ! [ "$?" = "0" ]; then '>> /mnt/setup-chroot.sh
|
|
|
|
echo ' echo "Failed to install preliminary software - $errors"' >> /mnt/setup-chroot.sh
|
|
|
|
echo ' echo "Failed to install preliminary software - $errors"' >> /mnt/setup-chroot.sh
|
|
|
|
echo " exit 1">> /mnt/setup-chroot.sh
|
|
|
|
echo " exit 1">> /mnt/setup-chroot.sh
|
|
|
|
|