Last active
November 16, 2018 21:47
-
-
Save fl64/44b38247ffb80ce34c95e0d98b142e58 to your computer and use it in GitHub Desktop.
Ubuntu xenial preseed file with LVM for factory.loc server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### user settings | |
d-i passwd/username string bot-install | |
d-i passwd/user-fullname string bot-install | |
d-i passwd/user-password password 12qw!@QW | |
d-i passwd/user-password-again password 12qw!@QW | |
d-i user-setup/allow-password-weak boolean true | |
### regional setting | |
d-i debian-installer/language string en_US:en | |
d-i debian-installer/country string US | |
d-i debian-installer/locale string en_US | |
d-i debian-installer/quiet boolean true | |
d-i debian-installer/splash boolean false | |
d-i localechooser/supported-locales multiselect en_US.UTF-8 | |
d-i pkgsel/language-packs multiselect en | |
d-i pkgsel/install-language-support boolean false | |
### keyboard selection | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/modelcode string pc105 | |
d-i keyboard-configuration/layoutcode string us | |
d-i keyboard-configuration/variantcode string intl | |
d-i keyboard-configuration/xkb-keymap select us(intl) | |
d-i keyboard-configuration/xkb-keymap select us | |
d-i debconf/language string en_US:en | |
### clock and timezone settings | |
d-i time/zone string Europe/Moscow | |
d-i clock-setup/utc boolean true | |
d-i clock-setup/ntp boolean true | |
### partitioning | |
d-i partman/filter_mounted boolean false | |
d-i partman/unmount_active boolean false | |
d-i partman/alignment string cylinder | |
d-i partman-md/device_remove_md boolean true | |
d-i partman-md/confirm boolean true | |
d-i partman-md/confirm_nooverwrite boolean true | |
d-i partman-lvm/device_remove_lvm boolean true | |
d-i partman-lvm/confirm boolean true | |
d-i partman-lvm/confirm_nooverwrite boolean true | |
d-i partman-auto/disk string /dev/sda | |
d-i partman-auto/method string lvm | |
d-i partman-auto/purge_lvm_from_device boolean true | |
d-i partman-auto-lvm/guided_size string max | |
d-i partman-auto-lvm/new_vg_name string vg00 | |
d-i partman-auto/choose_recipe select boot-root | |
d-i partman-auto/expert_recipe string \ | |
boot-root :: \ | |
268 268 268 ext4 \ | |
$primary{ } \ | |
$bootable{ } \ | |
method{ format } \ | |
format{ } \ | |
use_filesystem{ } \ | |
filesystem{ ext4 } \ | |
mountpoint{ /boot } \ | |
options/noatime{ noatime } \ | |
. \ | |
2146 2146 100% linux-swap \ | |
lv_name{ lv_swap } \ | |
$lvmok{ } \ | |
method{ swap } \ | |
format{ } \ | |
. \ | |
4292 4292 -1 ext4 \ | |
lv_name{ lv_root } \ | |
$lvmok{ } \ | |
method{ lvm } \ | |
format{ } \ | |
use_filesystem{ } \ | |
filesystem{ ext4 } \ | |
mountpoint{ / } \ | |
options/noatime{ noatime } \ | |
. | |
d-i partman-basicmethods/method_only boolean false | |
d-i partman/choose_partition select finish | |
d-i partman-partitioning/confirm_write_new_label boolean true | |
d-i partman/confirm boolean true | |
d-i partman/confirm_nooverwrite boolean true | |
### bootloader | |
d-i grub-installer/only_debian boolean true | |
d-i grub-installer/with_other_os boolean true | |
d-i grub-installer/bootdev string default | |
### Kernel settings | |
d-i debian-installer/add-kernel-opts string vga=788 nomodeset | |
### Verbose output and no boot splash screen. | |
d-i debian-installer/quiet boolean false | |
d-i debian-installer/splash boolean false | |
### additional packages | |
tasksel tasksel/first multiselect standard | |
d-i pkgsel/include string openssh-server open-vm-tools | |
### other | |
d-i mirror/http/proxy string | |
d-i user-setup/encrypt-home boolean false | |
d-i pkgsel/update-policy select none | |
### finish installation | |
d-i finish-install/keep-consoles boolean false | |
d-i finish-install/reboot_in_progress note | |
d-i preseed/late_command string in-target sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT=""/g' /etc/default/grub | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment