diff options
author | B. Stack <bgstack15@gmail.com> | 2020-02-20 22:04:48 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2020-02-20 22:04:48 -0500 |
commit | fe88cae43eb8ee13740947a82bc7baf3217ea14e (patch) | |
tree | c91737c4a0dac5f938abe2374c03b3a33b7b0877 | |
parent | changes for day (diff) | |
download | foo1-fe88cae43eb8ee13740947a82bc7baf3217ea14e.tar.gz foo1-fe88cae43eb8ee13740947a82bc7baf3217ea14e.tar.bz2 foo1-fe88cae43eb8ee13740947a82bc7baf3217ea14e.zip |
changes for day
-rw-r--r-- | preseed.cfg | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/preseed.cfg b/preseed.cfg index 51c799f..2b35edb 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -3,7 +3,7 @@ # /mnt/public/Support/Platforms/devuan/devuan-preseed1.txt # Author: bgstack15 # Startdate: 2019-06-25 -# Title: Kickstart for CentOS 7 for ipa.smith122.com +# Title: Preseed for devuan vms for ipa.smith122.com # Purpose: To provide an easy installation for VMs and other systems in the Mersey network # History: # 2017-06 I learned how to use kickstart files for the RHCSA EX-200 exam @@ -11,8 +11,9 @@ # 2017-10-29 major revision to use local repository # 2019-06-25 fork from centos7-ks.cfg # 2019-12-29 fix up repos and in-target conclusion stuff +# 2020-02-20 use ascii 2.1 # Usage with virt-install: -# vm=d2-04a ; time sudo virt-install -n "${vm}" --memory 2048 --vcpus=1 --os-variant=debiantesting -v --disk path=/var/lib/libvirt/images/"${vm}".qcow2,size=20 -l /mnt/public/Support/SetupsBig/Linux/devuan_ascii_2.0.0-beta_amd64_DVD.iso --initrd-inject=/mnt/public/Support/Platforms/devuan/preseed/preseed.cfg --extra-args "hostname=${vm} NOTIFYEMAIL=bgstack15@gmail.com interface=auto" --debug --network type=bridge,source=br0 --noautoconsole +# vm=d2-04a ; time sudo virt-install -n "${vm}" --memory 2048 --vcpus=1 --os-variant=debiantesting -v --disk path=/var/lib/libvirt/images/"${vm}".qcow2,size=20 -l /mnt/public/Support/SetupsBig/Linux/devuan_ascii_2.1_amd64_netinst.iso --initrd-inject=/mnt/public/Support/Platforms/devuan/preseed/preseed.cfg --extra-args "hostname=${vm} NOTIFYEMAIL=bgstack15@gmail.com interface=auto" --debug --network type=bridge,source=br0 --noautoconsole # vm=d2-04a; sudo virsh destroy "${vm}"; sudo virsh undefine --remove-all-storage "${vm}"; # Reference: # https://sysadmin.compxtreme.ro/automatically-set-the-hostname-during-kickstart-installation/ @@ -28,10 +29,17 @@ # 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/ +# https://github.com/virt-manager/virt-manager/blob/master/virtinst/install/urldetect.py +# /mnt/public/Support/Platforms/devuan/fix-virt-manager.txt +# https://dev1galaxy.org/viewtopic.php?id=3332 +# https://ubuntuforums.org/showthread.php?t=2387570 +# sudo debconf-get-selections -c /mnt/public/Support/Platforms/devuan/preseed/preseed.cfg +# on d2-03a: sudo debconf-get-selections --installer # 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/\/.*$//' )" | # add the kernel lines: console=ttyS0 console=tty1. Get this to work; tried manually but perhaps devuan doesn't use console the same way? +# 2020-02-20 unfortunately need to use the in-target stuff now because the localrepo d-i components are invalid d-i debian-installer/country string US d-i debian-installer/keymap select us |