/usr/share/osinfo/install-script/debian.org
Edit: /usr/share/osinfo/install-script/debian.org/debian-preseed-desktop.xml (8136B)
desktop
preseed.cfg
true
initrd
true
/dev/vda
/dev/sda
localhost
en_US
us
keyboard-configuration/xkb-keymap=
debconf/priority=critical
# For inspiration and explanations see:
# http://sfxpt.wordpress.com/2013/06/09/get-the-debianubuntu-ready-and-customized-the-way-you-like-in-10-minutes/
### Network
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string
d-i netcfg/get_domain string
d-i netcfg/disable_dhcp boolean false
### Localization
d-i debian-installer/locale string
d-i debian-installer/splash boolean false
d-i console-setup/ask_detect boolean false
### Time
d-i clock-setup/ntp boolean true
d-i clock-setup/utc boolean true
d-i time/zone select
### Account setup
## Root
d-i passwd/root-login boolean true
d-i passwd/root-password password
d-i passwd/root-password-again password
## User
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
d-i passwd/user-fullname string
d-i passwd/username
d-i passwd/user-password password
d-i passwd/user-password-again password
### Partitioning
d-i partman-auto/disk string
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select home
d-i partman/default_filesystem string ext4
d-i partman-auto/purge_lvm_from_device boolean true
# avoid any confirmation
d-i partman/choose_partition select finish
d-i partman/confirm_write_new_label boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true
### Apt
d-i apt-setup/use_mirror boolean true
d-i apt-setup/security_host string
d-i apt-setup/services-select multiselect
d-i apt-setup/volatile_host string
d-i apt-setup/security_host string
### Software selection
tasksel tasksel/first multiselect desktop ssh-server
### Install Qemu guest agent
d-i pkgsel/include string qemu-guest-agent xserver-xorg-video-qxl spice-vdagent spice-webdavd
### Bootloader
## Dont use LILO
d-i lilo-installer/skip boolean true
## GRUB settings
# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666974
d-i grub-installer/only_debian boolean false
d-i grub-installer/bootdev string
### Cleanup
d-i finish-install/reboot_in_progress note
### Remove the installation DVD from the apt-get's sources.list
d-i preseed/late_command string in-target sed -i '/cdrom/d' /etc/apt/sources.list
### Set user avatar
d-i preseed/late_command string \
mkdir /mnt/unattended-media ; \
mount /mnt/unattended-media ; \
cp /mnt/unattended-media/ /target/var/lib/AccountsService/icons/ ; \
umount /mnt/unattended-media ; \
echo "[User]" >> /target/var/lib/AccountsService/users/ ; \
echo "Language=.UTF-8" >> /target/var/lib/AccountsService/users/ ;\
echo "XSession=gnome" >> /target/var/lib/AccountsService/users/ ; \
echo "Icon=/var/lib/AccountsService/icons/" >> /target/var/lib/AccountsService/users/
### Create an osinfo-install-successful file in /root
d-i preseed/late_command string in-target \
touch /root/osinfo-install-successful