VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/debian_preseed.cfg@ 96910

Last change on this file since 96910 was 94707, checked in by vboxsync, 3 years ago

Validation Kit/Unattended tests: bugref:9781. It was stupid to disable post install script for Debian 9.x since we need txs stuff for tests to complete.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 KB
Line 
1### Partitioning
2d-i partman-auto/disk string /dev/sda
3d-i partman-auto/method string regular
4d-i partman-lvm/device_remove_lvm boolean true
5d-i partman-md/device_remove_md boolean true
6d-i partman-auto/choose_recipe select atomic
7
8# This makes partman automatically partition without confirmation
9d-i partman-partitioning/confirm_write_new_label boolean true
10d-i partman/choose_partition select finish
11d-i partman/confirm boolean true
12d-i partman/confirm_nooverwrite boolean true
13
14# Locale
15d-i debian-installer/locale string @@VBOX_INSERT_LOCALE@@
16d-i console-setup/ask_detect boolean false
17d-i console-setup/layoutcode string us
18d-i keyboard-configuration/xkb-keymap select us
19
20# Network
21d-i netcfg/get_hostname string @@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN@@
22d-i netcfg/get_domain string @@VBOX_INSERT_HOSTNAME_DOMAIN@@
23d-i netcfg/choose_interface select auto
24
25# Clock
26@@VBOX_COND_IS_RTC_USING_UTC@@
27d-i clock-setup/utc-auto boolean true
28d-i clock-setup/utc boolean true
29@@VBOX_COND_END@@
30@@VBOX_COND_IS_NOT_RTC_USING_UTC@@
31d-i clock-setup/utc-auto boolean false
32d-i clock-setup/utc boolean false
33@@VBOX_COND_END@@
34d-i time/zone string @@VBOX_INSERT_TIME_ZONE_UX@@
35@@VBOX_COND_IS_INSTALLING_ADDITIONS@@d-i clock-setup/ntp boolean false@@VBOX_COND_END@@
36@@VBOX_COND_IS_NOT_INSTALLING_ADDITIONS@@d-i clock-setup/ntp boolean true@@VBOX_COND_END@@
37
38# Packages, Mirrors, Image
39d-i base-installer/kernel/override-image string linux-server
40d-i base-installer/kernel/override-image string linux-image-amd64
41d-i pkgsel/install-language-support boolean false
42
43@@VBOX_COND_AVOID_UPDATES_OVER_NETWORK@@
44d-i apt-setup/use_mirror boolean false
45d-i netcfg/no_default_route true
46d-i netcfg/get_nameservers ""
47@@VBOX_COND_END@@
48
49@@VBOX_COND_IS_NOT_MINIMAL_INSTALLATION@@
50d-i apt-setup/restricted boolean true
51d-i apt-setup/universe boolean true
52@@VBOX_COND_END@@@@VBOX_COND_IS_MINIMAL_INSTALLATION@@
53tasksel tasksel/first multiselect minimal
54d-i pkgsel/include string openssh-server
55d-i pkgsel/upgrade select none
56@@VBOX_COND_END@@
57
58# Users
59d-i passwd/user-fullname string @@VBOX_INSERT_USER_FULL_NAME@@
60d-i passwd/username string @@VBOX_INSERT_USER_LOGIN@@
61d-i passwd/user-password password @@VBOX_INSERT_USER_PASSWORD@@
62d-i passwd/user-password-again password @@VBOX_INSERT_USER_PASSWORD@@
63d-i passwd/root-login boolean true
64d-i passwd/root-password password @@VBOX_INSERT_ROOT_PASSWORD@@
65d-i passwd/root-password-again password @@VBOX_INSERT_ROOT_PASSWORD@@
66d-i user-setup/allow-password-weak boolean true
67d-i passwd/user-default-groups string admin
68
69# Grub
70d-i grub-installer/grub2_instead_of_grub_legacy boolean true
71d-i grub-installer/only_debian boolean true
72
73# Due notably to potential USB sticks, the location of the MBR can not be
74# determined safely in general, so this needs to be specified:
75#d-i grub-installer/bootdev string /dev/sda
76# To install to the first device (assuming it is not a USB stick):
77d-i grub-installer/bootdev string default
78
79d-i finish-install/reboot_in_progress note
80
81# Custom Commands.
82# Note! Debian netboot images use busybox, so no bash.
83# Tell script to use target bash.
84d-i preseed/late_command string cp /cdrom/vboxpostinstall.sh /target/root/vboxpostinstall.sh \
85 && chmod +x /target/root/vboxpostinstall.sh \
86 && /bin/sh /target/root/vboxpostinstall.sh --need-target-bash --preseed-late-command
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette