diff options
author | B. Stack <bgstack15@gmail.com> | 2019-06-28 20:25:48 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2019-06-28 20:25:48 -0400 |
commit | c4d76f647030be3f6a246510e6a5bad8c7336c21 (patch) | |
tree | d2e6dcc483820c73a9f95dd0468b74b08ce073b1 | |
parent | changes for day (diff) | |
download | foo1-c4d76f647030be3f6a246510e6a5bad8c7336c21.tar.gz foo1-c4d76f647030be3f6a246510e6a5bad8c7336c21.tar.bz2 foo1-c4d76f647030be3f6a246510e6a5bad8c7336c21.zip |
changes for day
-rw-r--r-- | preseed.cfg | 106 |
1 files changed, 67 insertions, 39 deletions
diff --git a/preseed.cfg b/preseed.cfg index 7412223..6152fe4 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -22,6 +22,8 @@ # syntax for --location https://www.queryxchange.com/q/1_908324/virt-install-preseed-not-working/ # example preseed https://www.debian.org/releases/stable/example-preseed.txt # skip next dvd question https://unix.stackexchange.com/questions/409212/preseed-directive-to-skip-another-cd-dvd-scanning +# grub problem caused by consolekit:amd64 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915947#10 +# https://stackoverflow.com/questions/39861614/how-to-fully-automate-unattended-virt-install # Improve: # test the lvm auto approval # learn how to skip the "scan another DVD?" question. @@ -30,90 +32,116 @@ d-i debian-installer/locale string en_US d-i debian-installer/language string en d-i debian-installer/country string US d-i debian-installer/keymap select us -d-i keyboard-configuration/xkb-keymap select us -d-i keyboard-configuration/layoutcode string us -d-i keyboard-configuration/variantcode string -d-i netcfg/get_domain string ipa.smith122.com +d-i localechooser/supported-locales string en_US.UTF-8 + +d-i keyboard-configuration/xkb-keymap select us +d-i keyboard-configuration/layoutcode string us +d-i keyboard-configuration/variantcode string + +d-i netcfg/get_domain string ipa.smith122.com d-i netcfg/disable_autoconfig boolean false 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 -d-i localechooser/supported-locales string en_US.UTF-8 -d-i openssh-server/permit-root-login boolean false - +#d-i apt-setup/enable-source-repositories boolean false +# ORIGINAL d-i apt-setup/services-select multiselect security updates, release updates, backported software +d-i apt-setup/contrib boolean true +d-i apt-setup/disable-cdrom-entries boolean true +d-i apt-setup/non-free boolean true d-i apt-setup/use_mirror boolean true -d-i mirror/protocol string http d-i mirror/country string manual -# need to get this one working. it looks like it selects, but does not accept automatically. -d-i mirror/http/hostname string deb.devuan.org d-i mirror/http/directory string /devuan +d-i mirror/http/hostname string deb.devuan.org d-i mirror/http/proxy string +d-i mirror/protocol string http d-i mirror/suite string testing -d-i apt-setup/non-free boolean true -#d-i apt-setup/enable-source-repositories boolean false -# ORIGINAL d-i apt-setup/services-select multiselect security updates, release updates, backported software -d-i apt-setup/contrib boolean true -d-i apt-setup/disable-cdrom-entries boolean true -d-i apt-setup/cdrom/set-first boolean false -d-i apt-setup/cdrom/set-next boolean false d-i apt-setup/cdrom/set-failed boolean false +d-i apt-setup/cdrom/set-first boolean false +d-i apt-setup/cdrom/set-next boolean false + +# my repos +d-i apt-setup/local0/repository string http://albion320.no-ip.biz/smith122/repo/deb/ / +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/local1/repository string http://albion320.no-ip.biz/smith122/repo/devuan-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/local2/repository string http://pkgmaster.devuan.org/merged ceres main contrib non-free +d-i apt-setup/local2/comment string ceres +d-i apt-setup/local2/key string https://pkgmaster.devuan.org/merged/dists/ceres/Release.gpg +# if for some reason I really need to turn off the gpg key check: +#d-i debian-installer/allow_unauthenticated boolean false + +tasksel tasksel/first multiselect standard, ssh-server -d-i pkgsel/include string openssh-server build-essential sudo screen +# adapted from /mnt/public/Support/Platforms/devuan/devuan.txt, main fluxbox desktop, but for a vm +d-i pkgsel/include string \ + alsamixergui alttab apt-transport-https bgconf bgscripts bgscripts-core cifs-utils fluxbox lightdm lightdm-gtk-greeter mlocate nfs-common ntpdate openssh-server p7zip palemoon palemoon-ublock-origin scite screen sudo vim volumeicon-alsa waterfox xfe xscreensaver spice-vdagent qemu-guest-agent xserver-xorg-video-qxl grub d-i pkgsel/upgrade select none popularity-contest popularity-contest/participate boolean true -tasksel tasksel/first multiselect standard, ssh-server - d-i clock-setup/ntp boolean true -d-i clock-setup/ntp-server string ipa.smith122.com +d-i clock-setup/ntp-server string dns1.ipa.smith122.com d-i time/zone string America/New_York -d-i grub-installer/with_other_os boolean true -d-i grub-installer/only_debian boolean true -d-i grub-installer/grub2_instead_of_grub_legacy boolean true -d-i grub-installer/bootdev string /dev/vda -d-i grub-installer/choose_bootdev select /dev/vda -grub-installer grub-installer/force-efi-extra-removable boolean false +# skip grub during main part, because the ceres overlay adds some cruft to /boot/grub/locale/ from consolekit +d-i grub-installer/skip boolean true +# these next 2 are experimental +d-i grub-installer/skip-again boolean true +d-i grub-installer/skip-confirm boolean true +d-i grub-installer/confirm_skip boolean true +d-i nobootloader/confirmation_common boolean true + +d-i lilo-installer/skip boolean true +#d-i grub-installer/with_other_os boolean true +#d-i grub-installer/only_debian boolean true +#d-i grub-installer/grub2_instead_of_grub_legacy boolean true +#d-i grub-installer/bootdev string /dev/vda +#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 partman-auto/init_automatically_partition select biggest_free +d-i partman-auto/choose_recipe select home +d-i partman-auto-crypto/erase_disks boolean false d-i partman-auto/disk string /dev/vda +d-i partman-auto/init_automatically_partition select biggest_free d-i partman-auto/method string lvm -d-i partman-auto/choose_recipe select home -d-i partman-partitioning/confirm_write_new_label boolean true -d-i partman/choose_partition select finish d-i partman/choose_label string gpt -d-i partman/default_label string gpt +d-i partman/choose_partition select finish d-i partman/confirm boolean true -#d-i partman-lvm/confirm boolean true d-i partman/confirm_nooverwrite boolean true -d-i partman-auto-crypto/erase_disks boolean false d-i partman/confirm_write_new_label boolean true -d-i partman/confirm_nooverwrite boolean true -d-i partman-md/confirm_nooverwrite boolean true +d-i partman/default_label string gpt +#d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm_nooverwrite boolean true -d-i partman-partitioning/confirm_write_new_label boolean true +d-i partman-md/confirm_nooverwrite boolean true #d-i partman/mount_style select uuid +d-i partman-partitioning/confirm_write_new_label boolean true # Uncomment this to add multiarch configuration for i386 #d-i apt-setup/multiarch string i386 -# WORKHERE need to figure this out 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-default-groups string audio cdrom video d-i finish-install/reboot_in_progress note 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.smith122.com d-i openssh-server/password-authentication boolean true +d-i openssh-server/permit-root-login boolean false + +# this will install a few things instead of consolekit, but that is ok. we need consolekit gone because it laid down some /boot/grub/locale/*mo files that interfere with grub-install +d-i preseed/late_command string in-target apt-get purge -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" consolekit ; \ + in-target grub-install /dev/vda ; in-target update-grub |