diff options
author | B. Stack <bgstack15@gmail.com> | 2020-03-12 09:04:14 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2020-03-12 09:04:14 -0400 |
commit | a79c38a9fca51187ba922855679d8bcc611bc6e1 (patch) | |
tree | c92241f19fc91c66a99d4acc4fe2f9dfe6adcde5 /preseed.cfg | |
parent | changes for day (diff) | |
download | foo1-a79c38a9fca51187ba922855679d8bcc611bc6e1.tar.gz foo1-a79c38a9fca51187ba922855679d8bcc611bc6e1.tar.bz2 foo1-a79c38a9fca51187ba922855679d8bcc611bc6e1.zip |
changes for day
Diffstat (limited to 'preseed.cfg')
-rw-r--r-- | preseed.cfg | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/preseed.cfg b/preseed.cfg index 1ae1adf..35cdb85 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -11,7 +11,7 @@ # 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 +# 2020-02-27 heavy rewrite to 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.1_amd64_dvd-1.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}"; @@ -40,8 +40,6 @@ # 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/\/.*$//' )" | # 2020-02-24 add the kernel lines: console=ttyS0 console=tty1. Get this to work; use grub.cfg and "linux" line, not "kernel" -# add the apt-key crap, from the localrepo0 lines, to the in-target stuff at end -# the /mnt/bgirton in fstab must exist after the successful bgconf invocation, when the repo is trusted? d-i debian-installer/country string US d-i debian-installer/keymap select us @@ -184,7 +182,7 @@ d-i preseed/late_command string mkdir -p /target/etc/apt/sources.list.d /target/ echo "deb http://albion320.no-ip.biz/mirror/obs/ /" > sources.list.d/home\:bgstack15.list ; \ in-target apt-get update ; \ in-target apt-get purge -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" consolekit exim4\* lxqt\* udev ; \ - in-target apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" alsamixergui alttab apt-transport-https bgconf bgscripts bgscripts-core cifs-utils curl fluxbox freeipa-client git grub lightdm lightdm-gtk-greeter mlocate net-tools nfs-common ntpdate oddjob-mkhomedir=0.0.1-1 openssh-server p7zip palemoon palemoon-ublock-origin parted qemu-guest-agent rsync scite screen spice-vdagent strace sudo tcpdump vim vlc volumeicon-alsa waterfox xfce4-terminal xfe xserver-xorg-video-qxl fluxbox-themes-stackrpms xdgmenumaker man ; \ + in-target apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" alsamixergui alttab apt-transport-https bgconf bgscripts bgscripts-core cifs-utils curl fluxbox freeipa-client git grub lightdm lightdm-gtk-greeter mlocate net-tools nfs-common ntpdate oddjob-mkhomedir=0.0.1-1 openssh-server p7zip palemoon palemoon-ublock-origin parted qemu-guest-agent rsync scite screen spice-vdagent strace sudo tcpdump vim vlc volumeicon-alsa waterfox xfce4-terminal xfe xserver-xorg-video-qxl fluxbox-themes-stackrpms xdgmenumaker man logout-manager freeipa-helper ; \ 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 -d 10 1>/home/bgirton-local/clone.log 2>&1" ; \ in-target wget -O /root/set-my-repos.sh http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/set-my-repos.sh ; in-target sh /root/set-my-repos.sh ; \ @@ -196,8 +194,5 @@ d-i preseed/late_command string mkdir -p /target/etc/apt/sources.list.d /target/ in-target sed -i -r -e '/^\s*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 ; -# 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 ; \ #### SHOULDN'T NEED THIS ANYMORE -# in-target grub-install /dev/vda ; in-target update-grub ; \ # in-target install -m0644 /mnt/public/Support/Platforms/devuan/sources.list /etc/apt/sources.list ; \ |