diff options
author | B. Stack <bgstack15@gmail.com> | 2019-07-03 15:32:39 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2019-07-03 15:32:39 -0400 |
commit | 83f56ee4a2388a99456b1dfa9801c0305ca3070b (patch) | |
tree | 72ad10f048f98483ea64c63f12f5858fc5bf10d0 | |
parent | changes for day (diff) | |
download | foo1-83f56ee4a2388a99456b1dfa9801c0305ca3070b.tar.gz foo1-83f56ee4a2388a99456b1dfa9801c0305ca3070b.tar.bz2 foo1-83f56ee4a2388a99456b1dfa9801c0305ca3070b.zip |
changes for day
-rw-r--r-- | preseed.cfg | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/preseed.cfg b/preseed.cfg index e93f811..30d71e2 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -26,6 +26,7 @@ # https://stackoverflow.com/questions/39861614/how-to-fully-automate-unattended-virt-install # https://www.debian.org/releases/stable/i386/apbs03.html.en # https://dev1galaxy.org/viewtopic.php?id=1853 +# https://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/ # Improve: # discover how to send email, using postfix or sendmail. Don't care which, but exclude exim4. # echo "$( hostname ) has IP $( ip -4 -o a s eth0 | awk '{print $4}' | sed -r -e 's/\/.*$//' )" | @@ -156,4 +157,7 @@ d-i openssh-server/permit-root-login boolean false d-i preseed/late_command string in-target apt-get purge -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" consolekit exim4\* ; \ apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postfix ; \ in-target grub-install /dev/vda ; in-target update-grub ; \ - in-target wget http://albion320.no-ip.biz/smith122/certs/ca-ipa.smith122.com.crt -O /usr/local/share/ca-certificates/ca-ipa.smith122.com.crt && update-ca-certificates || : ; in-target su bgirton-local -c "sudo /usr/bin/bgconf.py" 1>/root/clone.log 2>&1 ; + in-target wget http://albion320.no-ip.biz/smith122/certs/ca-ipa.smith122.com.crt -O /usr/local/share/ca-certificates/ca-ipa.smith122.com.crt && update-ca-certificates || : ; \ + in-target su bgirton-local -c "sudo /usr/bin/bgconf.py" 1>/root/clone.log 2>&1 ; \ + in-target sed -i -r -e '/^kernel/s/(\s*console=.{1,7}[0-9])*\s*$/ console=tty0 console=ttyS0/;' /boot/grub/menu.lst ; \ + in-target sed -i -r -e '$aT0:23:respawn:/sbin/getty -L ttyS0 9600 vt100' /etc/inittab
\ No newline at end of file |