Last active
October 11, 2017 18:28
-
-
Save popstas/4d58803aafec6aed30fc02fa0f154cc1 to your computer and use it in GitHub Desktop.
ubuntu-preseed.txt
This file contains hidden or 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
d-i debian-installer/locale string en_US.UTF-8 | |
d-i debian-installer/splash boolean false | |
d-i console-setup/ask_detect boolean false | |
d-i console-setup/layoutcode string us | |
d-i console-setup/variantcode string | |
choose-mirror-bin mirror/http/proxy string | |
d-i debian-installer/language string en | |
d-i debian-installer/country string RU | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/xkb-keymap select us | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string unassigned-hostname | |
d-i netcfg/get_domain string unassigned-domain | |
d-i netcfg/wireless_wep string | |
d-i passwd/user-fullname string viasite | |
d-i passwd/username string viasite | |
d-i passwd/user-password-crypted password $1$eWaIRKe0$nCEuSMhQddr86tEoBujwm0 | |
d-i user-setup/encrypt-home boolean false | |
d-i clock-setup/utc boolean true | |
d-i time/zone string string Asia/Yekaterinburg | |
d-i clock-setup/ntp boolean true | |
d-i partman-auto/disk string /dev/sda | |
d-i partman-auto/method string lvm | |
d-i partman-lvm/device_remove_lvm boolean false | |
d-i partman-md/device_remove_md boolean true | |
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-auto/expert_recipe string \ | |
boot-root :: \ | |
512 50 512 ext4 \ | |
$primary{ } $bootable{ } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ /boot } \ | |
. \ | |
500 10000 1000000000 ext4 \ | |
$defaultignore{ } \ | |
$primary{ } \ | |
method{ lvm } \ | |
vg_name{ vg } \ | |
. \ | |
4000 10000 10000 ext4 \ | |
$lvmok{ } \ | |
in_vg{ vg } \ | |
lv_name{ root } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ / } \ | |
. \ | |
3000 10000 1000000000 ext4 \ | |
$lvmok{ } \ | |
in_vg{ vg } \ | |
lv_name{ home } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ /home } \ | |
. \ | |
2000 10000 20000 ext4 \ | |
$lvmok{ } \ | |
in_vg{ vg } \ | |
lv_name{ var } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ /var } \ | |
. | |
d-i partman-partitioning/confirm_write_new_label boolean true | |
d-i partman/choose_partition select finish | |
d-i partman/confirm boolean true | |
d-i partman/confirm_nooverwrite boolean true | |
partman-basicfilesystems partman-basicfilesystems/no_swap boolean false | |
d-i partman-md/confirm boolean true | |
d-i partman-partitioning/confirm_write_new_label boolean true | |
d-i partman/choose_partition select finish | |
d-i partman/confirm boolean true | |
d-i partman/confirm_nooverwrite boolean true | |
d-i tasksel/first multiselect standard system utilities, OpenSSH server, Basic Ubuntu server | |
d-i pkgsel/include string openssh-server build-essential | |
d-i pkgsel/update-policy select unattended-upgrades | |
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 | |
d-i preseed/late_command string mkdir -p /target/root/.ssh; \ | |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+FkT/g3l8Zq+5OSc3+LPNXf4xML0mpnXtDpnWdOwD8F44WWKw/kSxQVdaJoOusq/fhQ9gkoHUJUKsRBNipVV7nG/6joJ6JTAYr4xQs5rMQNAJWJN0978vhNMRhEpUxFCe+ravC0J4L44/bbO+xvH7b3wWemYUU4393wG9TH1ljgMrbKgaExPeTBtctKqjU3ktqn1PqXMi444G4tkMi6TRfZCGAJOHfIe41VKPajMOsLGdqj8sCyn2+MIO5cWaExReykMQ5L6/BDTpcJgOf6fYsBQen9A1kj7l04YskXk2cbFAztnVr2Tatr/4lte6zPQj+9kQtPLJU+KCVWTZneuH [email protected]" >> /target/root/.ssh/authorized_keys; \ | |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA3eH6pNSdptq8ZrVawS5gw7kBXkwWeiHodsYWoy8p/JgXDDUnbOVHk8rO7f2OqfcFI9CQoQF44OE+vUgyaxRzedodlhOcEc5GrMQqbm9uYJwL3K8h5RvxR+b71F+OYeEy2vPevSHwiDW/7O0FpMLWQ/zI9RUbyfNqg71kYAC7EkmTLIfnIbMDh+aSJn5cjQ19TnYoDZfuNzkZQHDsbjKlOeFEVUSuxl15lXaZVUulY0mXVgUk+WnoDMVKeml/gptGMRl+hFxwlKZOKAR60Zp8ME1Pgd8hxa2EFFB8+Vxh09Zk6CWMYOOcIXk2kUAzt/4zNBTn653v18/5k+gd0MgUgQ== [email protected]" >> /target/root/.ssh/authorized_keys; \ | |
chmod -R go-rwx /target/root/.ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment