From 3a73eb0351ba02ac1fa9f59cc4b8680fea2137ea Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 14 Jan 2016 18:07:06 +0100 Subject: modified preseed.cfg and .gitignore --- http/preseed.cfg | 139 ++++++++++++++++++++++++++----------------------------- 1 file changed, 66 insertions(+), 73 deletions(-) (limited to 'http') diff --git a/http/preseed.cfg b/http/preseed.cfg index 5f5b9c3..fb672eb 100644 --- a/http/preseed.cfg +++ b/http/preseed.cfg @@ -1,91 +1,84 @@ -## Options to set on the command line -d-i debian-installer/locale string en_US.utf8 -d-i console-setup/ask_detect boolean false -d-i console-setup/layout string USA +# Built from stock Jessie config https://www.debian.org/releases/jessie/example-preseed.txt -#d-i netcfg/get_hostname string dummy -d-i netcfg/get_hostname string unassigned-hostname -d-i netcfg/get_domain string unassigned-domain - -# Continue without a default route -# Not working , specify a dummy in the DHCP -#d-i netcfg/no_default_route boolean - -d-i time/zone string UTC -d-i clock-setup/utc-auto boolean true +d-i clock-setup/ntp boolean true d-i clock-setup/utc boolean true +d-i finish-install/reboot_in_progress note +d-i mirror/country string manual -d-i kbd-chooser/method select American English +# Apt mirror +d-i mirror/http/directory string /pub/debian +d-i mirror/http/hostname string mirror.internode.on.net +# Block some prompts +d-i mirror/http/proxy string +d-i netcfg/choose_interface select auto d-i netcfg/wireless_wep string +d-i hw-detect/load_firmware boolean true -d-i base-installer/kernel/override-image string linux-server -#d-i base-installer/kernel/override-image string linux-image-2.6.32-21-generic - -# Choices: Dialog, Readline, Gnome, Kde, Editor, Noninteractive -d-i debconf debconf/frontend select Noninteractive - -d-i pkgsel/install-language-support boolean false -tasksel tasksel/first multiselect standard, ubuntu-server - -#d-i partman-auto/method string regular +# Partitioning d-i partman-auto/method string lvm -#d-i partman-auto/purge_lvm_from_device boolean true - -d-i partman-lvm/confirm boolean true d-i partman-lvm/device_remove_lvm boolean true -d-i partman-auto/choose_recipe select atomic - -d-i partman/confirm_write_new_label boolean true -d-i partman/confirm_nooverwrite boolean true -d-i partman/choose_partition select finish -d-i partman/confirm boolean true - -#http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=9626883 -#Message: "write the changes to disk and configure lvm preseed" -#http://serverfault.com/questions/189328/ubuntu-kickstart-installation-using-lvm-waits-for-input -#preseed partman-lvm/confirm_nooverwrite boolean true - -# Write the changes to disks and configure LVM? d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm_nooverwrite boolean true -d-i partman-auto-lvm/guided_size string max +d-i partman/choose_partition select finish +d-i partman/confirm boolean true +d-i partman/confirm_nooverwrite boolean true +d-i partman/confirm_write_new_label boolean true +d-i partman/default_filesystem string ext4 +d-i partman-lvm/device_remove_lvm boolean true +d-i partman-lvm/device_remove_lvm_span boolean true +d-i partman-auto/purge_lvm_from_device boolean true +d-i partman-auto-lvm/new_vg_name string debian +d-i partman-basicfilesystems/no_swap boolean false + +# Boot: 256MB +# Root: At least 4GB, will fill to the end of the disk +# Var: 4GB + +d-i partman-auto/expert_recipe string \ + boot-root :: \ + 256 1000 256 ext4 \ + $primary{ } \ + $bootable{ } \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /boot } \ + options/noatime{ noatime } \ + . \ + 4096 10000 1000000000 ext4 \ + $lvmok{ } lv_name{ root } \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ / } \ + options/noatime{ noatime } \ + . \ + 4096 5000 4096 ext4 \ + $lvmok{ } lv_name{ var } \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /var } \ + options/noatime{ noatime } \ + . + +d-i base-installer/install-recommends boolean false +d-i apt-setup/non-free boolean true +d-i apt-setup/contrib boolean true +d-i passwd/root-login boolean false +d-i pkgsel/include string openssh-server vim sudo +d-i pkgsel/install-language-support boolean false -## Default user, we can get away with a recipe to change this -d-i passwd/user-fullname string vagrant -d-i passwd/username string vagrant -d-i passwd/user-password password vagrant -d-i passwd/user-password-again password vagrant -d-i user-setup/encrypt-home boolean false -d-i user-setup/allow-password-weak boolean true +# Perform package upgrade during install +d-i pkgsel/upgrade select full-upgrade -## minimum is puppet and ssh and ntp -# Individual additional packages to install -d-i pkgsel/include string openssh-server ntp +# Timezone +d-i time/zone string Australia/Melbourne -# Whether to upgrade packages after debootstrap. -# Allowed values: none, safe-upgrade, full-upgrade -d-i pkgsel/upgrade select full-upgrade +popularity-contest popularity-contest/participate boolean false +tasksel tasksel/first multiselect minimal +# Grub bootloader d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true -d-i finish-install/reboot_in_progress note - -#For the update -d-i pkgsel/update-policy select none - -# debconf-get-selections --install -#Use mirror -#d-i apt-setup/use_mirror boolean true -#d-i mirror/country string manual -#choose-mirror-bin mirror/protocol string http -#choose-mirror-bin mirror/http/hostname string 192.168.4.150 -#choose-mirror-bin mirror/http/directory string /ubuntu -#choose-mirror-bin mirror/suite select maverick -#d-i debian-installer/allow_unauthenticated string true - -choose-mirror-bin mirror/http/proxy string +d-i grub-installer/bootdev string default -d-i preseed/late_command string \ - in-target sed -i 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/g' /etc/sudoers -- cgit v1.2.3