summaryrefslogtreecommitdiff
path: root/preseed.cfg
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-06-26 16:42:45 -0400
committerB. Stack <bgstack15@gmail.com>2023-06-26 16:42:45 -0400
commit97707d709b916083e427aaaee9283e21dad9b70f (patch)
tree02fbd24f4f7fb13bcd99f165a3195a69d487e52c /preseed.cfg
parentchanges for day (diff)
downloadfoo1-97707d709b916083e427aaaee9283e21dad9b70f.tar.gz
foo1-97707d709b916083e427aaaee9283e21dad9b70f.tar.bz2
foo1-97707d709b916083e427aaaee9283e21dad9b70f.zip
changes for day
Diffstat (limited to 'preseed.cfg')
-rw-r--r--preseed.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/preseed.cfg b/preseed.cfg
index a0bd881..526838a 100644
--- a/preseed.cfg
+++ b/preseed.cfg
@@ -15,6 +15,7 @@
# 2021-05-16 bump to chimaera which upgrades self to ceres
# 2023-01-20 kernel cmdline, remove newmoon
# 2023-02-28 add ssh_config EnableEscapeCommandline yes, disable apparmor for sssd
+# 2023-06-26 add configure-postfix.sh
# 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_daedalus_5.0.preview-20230116_amd64_netinstall.iso --initrd-inject=/mnt/public/Support/Platforms/devuan/preseed/preseed.cfg --extra-args "NOTIFYEMAIL=bgstack15@gmail.com interface=auto netcfg/get_hostname=${vm}" --debug --network type=bridge,source=br0 --noautoconsole
# vm=d2-04a; sudo virsh destroy "${vm}"; sudo virsh undefine --remove-all-storage "${vm}";
@@ -44,6 +45,8 @@
# 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/\/.*$//' )" |
+# Dependencies:
+# configure-postfix uses my gmail+smtp+oauth2 postfix relay
d-i debian-installer/country string US
d-i debian-installer/keymap select us
@@ -203,4 +206,5 @@ d-i preseed/late_command string mkdir -p /target/etc/apt/sources.list.d /target/
in-target updateval -a -v /etc/ssh/ssh_config '^\s*EnableEscapeCommandline.*' 'EnableEscapeCommandline yes' ; \
in-target ln -sf /etc/apparmor.d/usr.sbin.sssd /etc/apparmor.d/disable/ ; \
in-target apparmor_parser -R /etc/apparmor.d/usr.sbin.sssd ; \
+ in-target curl --no-progress-meter --output /root/lightdm-elogind.sh http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/scripts/configure-postfix.sh ; in-target sh /root/configure-postfix.sh ; \
in-target curl --no-progress-meter --output /root/send-mail-ip-address.sh http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/scripts/send-mail-ip-address.sh ; in-target sh /root/send-mail-ip-address.sh bgstack15@gmail.com ;
bgstack15