Skip to content

Instantly share code, notes, and snippets.

Created September 2, 2015 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e141c01380472033ae20 to your computer and use it in GitHub Desktop.
Save anonymous/e141c01380472033ae20 to your computer and use it in GitHub Desktop.
# Locales
d-i debian-installer/locale string ru_RU.UTF-8
# Don't install usplash.
d-i base-installer/kernel/linux/extra-packages-2.6 string
d-i pkgsel/include string openssh-server build-essential
# Desktop system not installed; don't waste time and disk space copying it.
#d-i archive-copier/desktop-task string ubuntu-standard
#d-i archive-copier/ship-task string
# Once installation is complete, automatically power off.
# d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true
d-i ubiquity/summary note
ubiquity ubiquity/success_command string in-target /bin/echo "trying echo" > /var/log/myfile
# Keyboard
d-i localechooser/shortlist select RU
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string ru
d-i console-setup/variant select Россия
d-i console-setup/toggle select Alt+Shift
# Network
d-i netcfg/enable boolean false
d-i netcfg/get_hostname string 1cserver
# Clock
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Moscow
d-i clock-setup/ntp boolean true
# Users
#d-i passwd/root-login boolean true
#d-i passwd/make-user boolean true
#d-i passwd/root-password-crypted password $6$twNfYwG8$8n9oZENmVLa9P7LwUTWjZ.9SIuok9a/faKTirCwgHFLMBgDeupzRUkvBpeoDUZP2gxBT6Rxlo3lVdc3HBBdMV1
#d-i passwd/user-fullname string Ubuntu user
#d-i passwd/username string socialit
#d-i passwd/user-password-crypted password $6$twNfYwG8$8n9oZENmVLa9P7LwUTWjZ.9SIuok9a/faKTirCwgHFLMBgDeupzRUkvBpeoDUZP2gxBT6Rxlo3lVdc3HBBdMV1
#d-i user-setup/allow-password-weak boolean true
#d-i user-setup/encrypt-home boolean false
# Partitioning
#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string lvm
#d-i partman-lvm/device_remove_lvm boolean true
#d-i partman-md/device_remove_md boolean true
#d-i partman-lvm/confirm boolean true
#d-i partman-auto-lvm/guided_size string max
#d-i partman-auto/choose_recipe select atomic
#d-i partman/default_filesystem string ext4
#d-i partman/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
# Configure auto partitioner
ubiquity partman-auto/init_automatically_partition select Guided - use entire disk
ubiquity partman-auto/disk string /dev/sda
ubiquity partman-auto/method string regular
ubiquity partman-auto/choose_recipe select All files in one partition (recommended for new users)
ubiquity partman/confirm_write_new_label boolean true
ubiquity partman/choose_partition select Finish partitioning and write changes to disk
ubiquity partman/confirm boolean true
ubiquity ubiquity/reboot boolean true
d-i pkgsel/upgrade select none
d-i pkgsel/update-policy select none
d-i pkgsel/updatedb boolean false
d-i pkgsel/install-language-support boolean false
# GRUB
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
# APT
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i apt-setup/multiverse boolean true
d-i apt-setup/non-free boolean true
d-i mirror/ftp/proxy string
d-i mirror/http/proxy string
base-config base-config/install-language-support boolean false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment