VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg@ 81624

Last change on this file since 81624 was 79610, checked in by vboxsync, 5 years ago

Main/IDHCPServer: Added a FindLeaseByMAC method that can be used to query the lease database and help the ValKit finding the TXS running inside a VM it just started using natnet or host-only. This uses a reserved method as it will be backported to 6.0 in a bit. bugref:9288 bugref:9151

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 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
41## @todo use nearest mirror somehow...
42d-i mirror/country string @@VBOX_INSERT_COUNTRY@@
43d-i mirror/http/proxy string
44## @todo minimal install?
45d-i apt-setup/restricted boolean true
46d-i apt-setup/universe boolean true
47d-i pkgsel/install-language-support boolean false
48# Stuff we need to build additions modules:
49d-i pkgsel/include string build-essential linux-headers-generic perl make
50
51# Users
52d-i passwd/user-fullname string @@VBOX_INSERT_USER_FULL_NAME@@
53d-i passwd/username string @@VBOX_INSERT_USER_LOGIN@@
54d-i passwd/user-password password @@VBOX_INSERT_USER_PASSWORD@@
55d-i passwd/user-password-again password @@VBOX_INSERT_USER_PASSWORD@@
56d-i passwd/root-login boolean true
57d-i passwd/root-password password @@VBOX_INSERT_ROOT_PASSWORD@@
58d-i passwd/root-password-again password @@VBOX_INSERT_ROOT_PASSWORD@@
59d-i user-setup/allow-password-weak boolean true
60d-i passwd/user-default-groups string admin
61
62# Grub
63d-i grub-installer/grub2_instead_of_grub_legacy boolean true
64d-i grub-installer/only_debian boolean true
65
66# Due notably to potential USB sticks, the location of the MBR can not be
67# determined safely in general, so this needs to be specified:
68#d-i grub-installer/bootdev string /dev/sda
69# To install to the first device (assuming it is not a USB stick):
70d-i grub-installer/bootdev string default
71
72d-i finish-install/reboot_in_progress note
73
74# Custom Commands
75d-i preseed/late_command string cp /cdrom/vboxpostinstall.sh /target/root/vboxpostinstall.sh \
76 && chmod +x /target/root/vboxpostinstall.sh \
77 && /bin/bash /root/vboxpostinstall.sh --preseed-late-command
78
79# Same as above, but for ubiquity.
80ubiquity ubiquity/success_command string vboxpostinstall.sh
81ubiquity ubiquity/success_command string cp /cdrom/vboxpostinstall.sh /target/root/vboxpostinstall.sh \
82 && chmod +x /target/root/vboxpostinstall.sh \
83 && /bin/bash /target/root/vboxpostinstall.sh --ubiquity-success-command
84
85# automatically reboot after installation.
86ubiquity ubiquity/reboot boolean true
87
88## Skip downloading updates during installation (better for testing).
89# Seems this doesn't make any difference, so why bother.
90#ubiquity ubiquity/download_updates boolean false
91
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