diff options
Diffstat (limited to 'preseed.cfg')
-rw-r--r-- | preseed.cfg | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/preseed.cfg b/preseed.cfg index 10331e8..4067368 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -3,8 +3,8 @@ # /mnt/public/Support/Platforms/devuan/devuan-preseed1.txt # Author: bgstack15 # Startdate: 2019-06-25 -# Title: Preseed for devuan vms for ipa.smith122.com -# Purpose: To provide an easy installation for VMs and other systems in the Mersey network +# Title: Preseed for devuan vms for ipa.internal.com +# Purpose: To provide an easy installation for VMs and other systems in the Internal network # History: # 2017-06 I learned how to use kickstart files for the RHCSA EX-200 exam # 2017-08-08 Added notifyemail to --extra-args @@ -53,7 +53,7 @@ d-i keyboard-configuration/variantcode string d-i keyboard-configuration/xkb-keymap select us d-i netcfg/disable_autoconfig boolean false -d-i netcfg/get_domain string ipa.smith122.com +d-i netcfg/get_domain string ipa.internal.com d-i netcfg/wireless_wep string # disable asking for non-free firmware, because this is a vm and has none d-i hw-detect/load_firmware boolean false @@ -77,20 +77,20 @@ d-i apt-setup/cdrom/set-first boolean false d-i apt-setup/cdrom/set-next boolean false ## my repos and ceres -d-i apt-setup/local0/comment string smith122deb -d-i apt-setup/local0/key string http://albion320.no-ip.biz/smith122/repo/deb/smith122deb.gpg -d-i apt-setup/local0/repository string http://albion320.no-ip.biz/smith122/repo/deb/ / +d-i apt-setup/local0/comment string internaldeb +d-i apt-setup/local0/key string http://www.example.com/internal/repo/deb/internaldeb.gpg +d-i apt-setup/local0/repository string http://www.example.com/internal/repo/deb/ / d-i apt-setup/local1/comment string devuan-deb -d-i apt-setup/local1/key string http://albion320.no-ip.biz/smith122/repo/deb/smith122deb.gpg -d-i apt-setup/local1/repository string http://albion320.no-ip.biz/smith122/repo/devuan-deb/ / +d-i apt-setup/local1/key string http://www.example.com/internal/repo/deb/internaldeb.gpg +d-i apt-setup/local1/repository string http://www.example.com/internal/repo/devuan-deb/ / d-i apt-setup/local2/comment string ceres -d-i apt-setup/local2/key string http://albion320.no-ip.biz/mirror/devuan/dists/ceres/Release.gpg -d-i apt-setup/local2/repository string http://albion320.no-ip.biz/mirror/devuan ceres main contrib non-free +d-i apt-setup/local2/key string http://www.example.com/mirror/devuan/dists/ceres/Release.gpg +d-i apt-setup/local2/repository string http://www.example.com/mirror/devuan ceres main contrib non-free #d-i apt-setup/local2/key string http://pkgmaster.devuan.org/merged/dists/ceres/Release.gpg #d-i apt-setup/local2/repository string http://pkgmaster.devuan.org/merged ceres main contrib non-free d-i apt-setup/local3/comment string obsmirror -d-i apt-setup/local3/key string http://albion320.no-ip.biz/mirror/obs/Release.key -d-i apt-setup/local3/repository string http://albion320.no-ip.biz/mirror/obs/ / +d-i apt-setup/local3/key string http://www.example.com/mirror/obs/Release.key +d-i apt-setup/local3/repository string http://www.example.com/mirror/obs/ / # if for some reason I really need to turn off the gpg key check: #d-i debian-installer/allow_unauthenticated boolean false @@ -114,7 +114,7 @@ d-i pkgsel/upgrade select none popularity-contest popularity-contest/participate boolean true d-i clock-setup/ntp boolean true -d-i clock-setup/ntp-server string dns1.ipa.smith122.com +d-i clock-setup/ntp-server string dns1.ipa.internal.com d-i time/zone string America/New_York # skip grub during main part, because we will do it in late_command @@ -135,8 +135,8 @@ d-i grub-installer/grub2_instead_of_grub_legacy boolean true #d-i grub-installer/choose_bootdev select /dev/vda #grub-installer grub-installer/force-efi-extra-removable boolean false -d-i passwd/root-password password f0rg3tkickstart& -d-i passwd/root-password-again password f0rg3tkickstart& +d-i passwd/root-password password plaintextexamplepw +d-i passwd/root-password-again password plaintextexamplepw d-i partman-auto/choose_recipe select home d-i partman-auto-crypto/erase_disks boolean false @@ -160,9 +160,9 @@ d-i partman-auto-lvm/guided_size string 100% #d-i apt-setup/multiarch string i386 d-i passwd/make-user boolean true -d-i passwd/user-fullname string bgirton-local -d-i passwd/username string bgirton-local -d-i passwd/user-password-crypted password $6$85aKM2DkiD5g9r3D$zkbcVES1Bzu.b5dBJxklSggEJzswZBlVAyc9LUUIzMA2OLRH2PD2ZWE9Q40Wtw/3OOxDM2nF031hfD4s5LGuG1 +d-i passwd/user-fullname string bgstack15-local +d-i passwd/username string bgstack15-local +d-i passwd/user-password-crypted password $6$BxyYQfM7A1TEeS6X$S0SALxIk6.n6SU21s.ojeQ9F06AMcnnHS7vODHTufeWXLpNu6EmpsDN7eLVSyYXXU4moiXVgzIiTJYXatdGBz0/ d-i passwd/user-default-groups string audio cdrom video d-i finish-install/reboot_in_progress note @@ -170,17 +170,17 @@ d-i cdrom-detect/eject boolean true # additional application stuff just in case it works and is useful # LDAP server URI: -d-i shared/ldapns/ldap-server string ldapi:///ipa.smith122.com +d-i shared/ldapns/ldap-server string ldapi:///ipa.internal.com d-i openssh-server/password-authentication boolean true d-i openssh-server/permit-root-login boolean false -d-i preseed/late_command string mkdir -p /target/etc/apt/sources.list.d /target/mnt/bgirton /target/mnt/public /target/etc/apt/sources.list.d /target/root/input ; touch /target/etc/apt/sources.list.d/empty ; cd /target/etc/apt ; \ +d-i preseed/late_command string mkdir -p /target/etc/apt/sources.list.d /target/mnt/bgstack15 /target/mnt/public /target/etc/apt/sources.list.d /target/root/input ; touch /target/etc/apt/sources.list.d/empty ; cd /target/etc/apt ; \ in-target apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" gpg grub-pc sudo ; \ - in-target curl --no-progress-meter --output /root/set-local-devuan-repo.sh http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/scripts/set-local-devuan-repo.sh ; in-target sh /root/set-local-devuan-repo.sh ; \ - in-target curl --no-progress-meter --output /root/input/52apt-file-stackrpms.conf http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/scripts/input/52apt-file-stackrpms.conf ; in-target curl --no-progress-meter --output /root/set-my-repos.sh http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/scripts/set-my-repos.sh ; in-target sh /root/set-my-repos.sh || : ; \ + in-target curl --no-progress-meter --output /root/set-local-devuan-repo.sh http://www.example.com/internal/Support/Platforms/devuan/scripts/set-local-devuan-repo.sh ; in-target sh /root/set-local-devuan-repo.sh ; \ + in-target curl --no-progress-meter --output /root/input/52apt-file-stackrpms.conf http://www.example.com/internal/Support/Platforms/devuan/scripts/input/52apt-file-stackrpms.conf ; in-target curl --no-progress-meter --output /root/set-my-repos.sh http://www.example.com/internal/Support/Platforms/devuan/scripts/set-my-repos.sh ; in-target sh /root/set-my-repos.sh || : ; \ in-target rm /etc/apt/trusted.gpg.d/ceres.gpg || : ; \ - in-target curl --no-progress-meter http://albion320.no-ip.biz/smith122/certs/ca-ipa.smith122.com.crt --output /usr/local/share/ca-certificates/ca-ipa.smith122.com.crt && in-target update-ca-certificates || : ; \ + in-target curl --no-progress-meter http://www.example.com/internal/certs/ca-ipa.internal.com.crt --output /usr/local/share/ca-certificates/ca-ipa.internal.com.crt && in-target update-ca-certificates || : ; \ in-target apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" alsamixergui alttab bgconf bgscripts bgscripts-core ca-certificates cifs-utils curl desktop-base fluxbox fluxbox-themes-stackrpms freeipa-client freeipa-helper git grub-pc gtk3-nocsd gtk3-nooverlayscrollbar krb5-auth-dialog logout-manager man mlocate net-tools newmoon nfs-common ntpdate oddjob-mkhomedir=0.0.1-1 p7zip parted postfix qemu-guest-agent rsync scite screen spice-vdagent strace sudo tcpdump ublock-origin-combined vim vlc volumeicon-alsa xdgmenumaker xfce4-terminal xfe xserver-xorg-input-libinput xserver-xorg-video-qxl ; \ in-target apt-mark hold oddjob-mkhomedir ; \ rm -f /target/etc/apt/sources.list.d/empty || : ; \ @@ -189,7 +189,7 @@ d-i preseed/late_command string mkdir -p /target/etc/apt/sources.list.d /target/ in-target sed -i -r -e '$aT0:23:respawn:/sbin/getty -L ttyS0 9600 vt100' /etc/inittab ; \ 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 curl --no-progress-meter --output /root/lightdm-elogind.sh http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/scripts/lightdm-elogind.sh ; in-target sh /root/lightdm-elogind.sh -y ; \ - 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/update-devuan.sh http://albion320.no-ip.biz/smith122/Support/Platforms/devuan/scripts/update-devuan.sh ; in-target sh /root/update-devuan.sh preseed ; \ - 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 ; + in-target curl --no-progress-meter --output /root/lightdm-elogind.sh http://www.example.com/internal/Support/Platforms/devuan/scripts/lightdm-elogind.sh ; in-target sh /root/lightdm-elogind.sh -y ; \ + in-target su bgstack15-local -c "sudo /usr/bin/bgconf.py -d 10 1>/home/bgstack15-local/clone.log 2>&1" ; \ + in-target wget -O /root/update-devuan.sh http://www.example.com/internal/Support/Platforms/devuan/scripts/update-devuan.sh ; in-target sh /root/update-devuan.sh preseed ; \ + in-target curl --no-progress-meter --output /root/send-mail-ip-address.sh http://www.example.com/internal/Support/Platforms/devuan/scripts/send-mail-ip-address.sh ; in-target sh /root/send-mail-ip-address.sh bgstack15@gmail.com ; |