a system for building guest images on demand (partially implemented)
[invirt/packages/invirt-autoinstaller.git] / partial / preseed.cfg
1 #### Contents of the preconfiguration file
2 d-i debian-installer/locale string en_US
3 d-i console-keymaps-at/keymap select us
4
5 ### Network configuration
6 # netcfg will choose an interface that has link if possible. This makes it
7 # skip displaying a list if there is more than one interface.
8 d-i netcfg/choose_interface select auto
9
10 #d-i netcfg/dhcp_timeout string 1
11
12 d-i netcfg/use_dhcp boolean false
13 # If you prefer to configure the network manually, uncomment this line and
14 # the static network configuration below.
15 d-i netcfg/disable_dhcp boolean true
16
17 # Static network configuration.
18 d-i netcfg/get_nameservers string 18.72.0.3
19 # at bottom  #d-i netcfg/get_ipaddress string fillme
20 d-i netcfg/get_netmask string 255.255.0.0
21 d-i netcfg/get_gateway string 18.181.0.1
22 d-i netcfg/confirm_static boolean true
23
24 # Any hostname and domain names assigned from dhcp take precedence over
25 # values set here. However, setting the values still prevents the questions
26 # from being shown, even if values come from dhcp.
27 # at bottom  #d-i netcfg/get_hostname string fillme
28 d-i netcfg/get_domain string mit.edu
29
30 # Disable that annoying WEP key dialog.
31 d-i netcfg/wireless_wep string
32
33 ### Mirror settings
34 # If you select ftp, the mirror/country string does not need to be set.
35 #d-i mirror/protocol string ftp
36 d-i mirror/country string enter information manually
37 d-i mirror/http/hostname string debian.lcs.mit.edu
38 d-i mirror/http/directory string /debian
39 d-i mirror/http/proxy string
40
41 # Suite to install.
42 #d-i mirror/suite string testing
43 # Suite to use for loading installer components (optional).
44 #d-i mirror/udeb/suite string testing
45
46 ### Partitioning
47 # If the system has free space you can choose to only partition that space.
48 # Note: this must be preseeded with a localized (translated) value.
49 #d-i partman-auto/init_automatically_partition \
50 #      select Guided - use the largest continuous free space
51
52 # Alternatively, you can specify a disk to partition. The device name
53 # can be given in either devfs or traditional non-devfs format.
54 # For example, to use the first disk:
55 d-i partman-auto/disk string /dev/discs/disc0/disc
56 # In addition, you'll need to specify the method to use.
57 # The presently available methods are: "regular", "lvm" and "crypto"
58 d-i partman-auto/method string lvm
59
60 # If one of the disks that are going to be automatically partitioned
61 # contains an old LVM configuration, the user will normally receive a
62 # warning. This can be preseeded away...
63 d-i partman-auto/purge_lvm_from_device boolean true
64 # And the same goes for the confirmation to write the lvm partitions.
65 d-i partman-lvm/confirm boolean true
66
67 # You can choose from any of the predefined partitioning recipes.
68 # Note: this must be preseeded with a localized (translated) value.
69 d-i partman-auto/choose_recipe \
70        select All files in one partition (recommended for new users)
71 #d-i partman-auto/choose_recipe \
72 #       select Separate /home partition
73 #d-i partman-auto/choose_recipe \
74 #       select Separate /home, /usr, /var, and /tmp partitions
75
76 # Or provide a recipe of your own...
77 # The recipe format is documented in the file devel/partman-auto-recipe.txt.
78 # If you have a way to get a recipe file into the d-i environment, you can
79 # just point at it.
80 #d-i partman-auto/expert_recipe_file string /hd-media/recipe
81
82 # If not, you can put an entire recipe into the preconfiguration file in one
83 # (logical) line. This example creates a small /boot partition, suitable
84 # swap, and uses the rest of the space for the root partition:
85 #d-i partman-auto/expert_recipe string                         \
86 #      boot-root ::                                            \
87 #              40 50 100 ext3                                  \
88 #                      $primary{ } $bootable{ }                \
89 #                      method{ format } format{ }              \
90 #                      use_filesystem{ } filesystem{ ext3 }    \
91 #                      mountpoint{ /boot }                     \
92 #              .                                               \
93 #              500 10000 1000000000 ext3                       \
94 #                      method{ format } format{ }              \
95 #                      use_filesystem{ } filesystem{ ext3 }    \
96 #                      mountpoint{ / }                         \
97 #              .                                               \
98 #              64 512 300% linux-swap                          \
99 #                      method{ swap } format{ }                \
100 #              .
101
102 # This makes partman automatically partition without confirmation.
103 d-i partman/confirm_write_new_label boolean true
104 d-i partman/choose_partition \
105        select Finish partitioning and write changes to disk
106 d-i partman/confirm boolean true
107
108 ### Clock and time zone setup
109 # Controls whether or not the hardware clock is set to UTC.
110 d-i clock-setup/utc boolean true
111
112 # You may set this to any valid setting for $TZ; see the contents of
113 # /usr/share/zoneinfo/ for valid values.
114 d-i time/zone string US/Eastern
115
116 ### Apt setup
117 # You can choose to install non-free and contrib software.
118 #d-i apt-setup/non-free boolean true
119 #d-i apt-setup/contrib boolean true
120 # Uncomment this if you don't want to use a network mirror.
121 #d-i apt-setup/use_mirror boolean false
122 # Uncomment this to avoid adding security sources, or
123 # add a hostname to use a different server than security.debian.org.
124 #d-i apt-setup/security_host string
125
126 # Additional repositories, local[0-9] available
127 #d-i apt-setup/local0/repository string \
128 #       deb http://local.server/debian stable main
129 #d-i apt-setup/local0/comment string local server
130 # Enable deb-src lines
131 #d-i apt-setup/local0/source boolean true
132 # URL to the public key of the local repository; you must provide a key or
133 # apt will complain about the unauthenticated repository and so the
134 # sources.list line will be left commented out
135 #d-i apt-setup/local0/key string http://local.server/key
136
137 # By default the installer requires that repositories be authenticated
138 # using a known gpg key. This setting can be used to disable that
139 # authentication. Warning: Insecure, not recommended.
140 #d-i debian-installer/allow_unauthenticated string true
141
142 ### Account setup
143 # Skip creation of a root account (normal user account will be able to
144 # use sudo).
145 #d-i passwd/root-login boolean false
146 # Alternatively, to skip creation of a normal user account.
147 d-i passwd/make-user boolean false
148
149 # Root password, either in clear text
150 #d-i passwd/root-password password r00tme
151 #d-i passwd/root-password-again password r00tme
152 # or encrypted using an MD5 hash.
153 # at bottom  #d-i passwd/root-password-crypted password [MD5 hash]
154
155 # To create a normal user account.
156 #d-i passwd/user-fullname string Debian User
157 #d-i passwd/username string debian
158 # Normal user's password, either in clear text
159 #d-i passwd/user-password password insecure
160 #d-i passwd/user-password-again password insecure
161 # or encrypted using an MD5 hash.
162 #d-i passwd/user-password-crypted password [MD5 hash]
163
164 ### Base system installation
165 # Select the initramfs generator used to generate the initrd for 2.6 kernels.
166 #d-i base-installer/kernel/linux/initramfs-generators string yaird
167
168 ### Boot loader installation
169 # Grub is the default boot loader (for x86). If you want lilo installed
170 # instead, uncomment this:
171 #d-i grub-installer/skip boolean true
172
173 # This is fairly safe to set, it makes grub install automatically to the MBR
174 # if no other operating system is detected on the machine.
175 d-i grub-installer/only_debian boolean true
176
177 # This one makes grub-installer install to the MBR if it also finds some other
178 # OS, which is less safe as it might not be able to boot that other OS.
179 d-i grub-installer/with_other_os boolean true
180
181 # Alternatively, if you want to install to a location other than the mbr,
182 # uncomment and edit these lines:
183 #d-i grub-installer/only_debian boolean false
184 #d-i grub-installer/with_other_os boolean false
185 #d-i grub-installer/bootdev  string (hd0,0)
186 # To install grub to multiple disks:
187 #d-i grub-installer/bootdev  string (hd0,0) (hd1,0) (hd2,0)
188
189 ### Package selection
190 tasksel tasksel/first multiselect standard
191
192 # Individual additional packages to install
193 #d-i pkgsel/include string openssh-server build-essential
194
195 ### Finishing up the first stage install
196 # Avoid that last message about the install being complete.
197 d-i finish-install/reboot_in_progress note
198
199 # This will prevent the installer from ejecting the CD during the reboot,
200 # which is useful in some situations.
201 #d-i cdrom-detect/eject boolean false
202
203 ### Preseeding other packages
204 # Depending on what software you choose to install, or if things go wrong
205 # during the installation process, it's possible that other questions may
206 # be asked. You can preseed those too, of course. To get a list of every
207 # possible question that could be asked during an install, do an
208 # installation, and then run these commands:
209 #   debconf-get-selections --installer > file
210 #   debconf-get-selections >> file
211
212
213 #### Advanced options
214 ### Running custom commands during the installation
215 # d-i preseeding is inherently not secure. Nothing in the installer checks
216 # for attempts at buffer overflows or other exploits of the values of a
217 # preconfiguration file like this one. Only use preconfiguration files from
218 # trusted locations! To drive that home, and because it's generally useful,
219 # here's a way to run any shell command you'd like inside the installer,
220 # automatically.
221
222 # This first command is run as early as possible, just after
223 # preseeding is read.
224 #d-i preseed/early_command string anna-install some-udeb
225
226 # This command is run just before the install finishes, but when there is
227 # still a usable /target directory. You can chroot to /target and use it
228 # directly, or use the apt-install and in-target commands to easily install
229 # packages and run commands in the target system.
230 #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
231
232
233
234 # sipb-xen: automatically filled-in values get appended here. 
235 # at bottom  #d-i netcfg/get_ipaddress string fillme
236 # at bottom  #d-i netcfg/get_hostname string fillme
237 # at bottom  #d-i passwd/root-password-crypted password [MD5 hash]