Build and deploy user-facing frontend (gitea)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

435 lines
18 KiB

  1. #### Contents of the preconfiguration file (for jessie)
  2. ### Localization
  3. # Preseeding only locale sets language, country and locale.
  4. d-i debian-installer/locale string en_US
  5. # The values can also be preseeded individually for greater flexibility.
  6. #d-i debian-installer/language string en
  7. #d-i debian-installer/country string NL
  8. #d-i debian-installer/locale string en_GB.UTF-8
  9. # Optionally specify additional locales to be generated.
  10. #d-i localechooser/supported-locales multiselect en_US.UTF-8, nl_NL.UTF-8
  11. # Keyboard selection.
  12. d-i keyboard-configuration/xkb-keymap select us
  13. # d-i keyboard-configuration/toggle select No toggling
  14. ### Network configuration
  15. # Disable network configuration entirely. This is useful for cdrom
  16. # installations on non-networked devices where the network questions,
  17. # warning and long timeouts are a nuisance.
  18. #d-i netcfg/enable boolean false
  19. # netcfg will choose an interface that has link if possible. This makes it
  20. # skip displaying a list if there is more than one interface.
  21. d-i netcfg/choose_interface select auto
  22. # To pick a particular interface instead:
  23. #d-i netcfg/choose_interface select eth1
  24. # To set a different link detection timeout (default is 3 seconds).
  25. # Values are interpreted as seconds.
  26. #d-i netcfg/link_wait_timeout string 10
  27. # If you have a slow dhcp server and the installer times out waiting for
  28. # it, this might be useful.
  29. #d-i netcfg/dhcp_timeout string 60
  30. #d-i netcfg/dhcpv6_timeout string 60
  31. # If you prefer to configure the network manually, uncomment this line and
  32. # the static network configuration below.
  33. #d-i netcfg/disable_autoconfig boolean true
  34. # If you want the preconfiguration file to work on systems both with and
  35. # without a dhcp server, uncomment these lines and the static network
  36. # configuration below.
  37. #d-i netcfg/dhcp_failed note
  38. #d-i netcfg/dhcp_options select Configure network manually
  39. # Static network configuration.
  40. #
  41. # IPv4 example
  42. #d-i netcfg/get_ipaddress string 192.168.1.42
  43. #d-i netcfg/get_netmask string 255.255.255.0
  44. #d-i netcfg/get_gateway string 192.168.1.1
  45. #d-i netcfg/get_nameservers string 192.168.1.1
  46. #d-i netcfg/confirm_static boolean true
  47. #
  48. # IPv6 example
  49. #d-i netcfg/get_ipaddress string fc00::2
  50. #d-i netcfg/get_netmask string ffff:ffff:ffff:ffff::
  51. #d-i netcfg/get_gateway string fc00::1
  52. #d-i netcfg/get_nameservers string fc00::1
  53. #d-i netcfg/confirm_static boolean true
  54. # Any hostname and domain names assigned from dhcp take precedence over
  55. # values set here. However, setting the values still prevents the questions
  56. # from being shown, even if values come from dhcp.
  57. d-i netcfg/get_hostname string unassigned-hostname
  58. d-i netcfg/get_domain string unassigned-domain
  59. # If you want to force a hostname, regardless of what either the DHCP
  60. # server returns or what the reverse DNS entry for the IP is, uncomment
  61. # and adjust the following line.
  62. #d-i netcfg/hostname string somehost
  63. # Disable that annoying WEP key dialog.
  64. d-i netcfg/wireless_wep string
  65. # The wacky dhcp hostname that some ISPs use as a password of sorts.
  66. #d-i netcfg/dhcp_hostname string radish
  67. # If non-free firmware is needed for the network or other hardware, you can
  68. # configure the installer to always try to load it, without prompting. Or
  69. # change to false to disable asking.
  70. #d-i hw-detect/load_firmware boolean true
  71. ### Network console
  72. # Use the following settings if you wish to make use of the network-console
  73. # component for remote installation over SSH. This only makes sense if you
  74. # intend to perform the remainder of the installation manually.
  75. #d-i anna/choose_modules string network-console
  76. #d-i network-console/authorized_keys_url string http://10.0.0.1/openssh-key
  77. #d-i network-console/password password r00tme
  78. #d-i network-console/password-again password r00tme
  79. ### Mirror settings
  80. # If you select ftp, the mirror/country string does not need to be set.
  81. #d-i mirror/protocol string ftp
  82. d-i mirror/country string manual
  83. d-i mirror/http/hostname string http.us.debian.org
  84. d-i mirror/http/directory string /debian
  85. d-i mirror/http/proxy string
  86. # Suite to install.
  87. #d-i mirror/suite string testing
  88. # Suite to use for loading installer components (optional).
  89. #d-i mirror/udeb/suite string testing
  90. ### Account setup
  91. # Skip creation of a root account (normal user account will be able to
  92. # use sudo).
  93. d-i passwd/root-login boolean false
  94. # Alternatively, to skip creation of a normal user account.
  95. #d-i passwd/make-user boolean false
  96. # Root password, either in clear text
  97. #d-i passwd/root-password password r00tme
  98. #d-i passwd/root-password-again password r00tme
  99. # or encrypted using an MD5 hash.
  100. #d-i passwd/root-password-crypted password [MD5 hash]
  101. # To create a normal user account.
  102. d-i passwd/user-fullname string User
  103. d-i passwd/username string user
  104. # Normal user's password, either in clear text
  105. d-i passwd/user-password password user
  106. d-i passwd/user-password-again password user
  107. # or encrypted using an MD5 hash.
  108. #d-i passwd/user-password-crypted password [MD5 hash]
  109. # Create the first user with the specified UID instead of the default.
  110. #d-i passwd/user-uid string 1010
  111. # The user account will be added to some standard initial groups. To
  112. # override that, use this.
  113. #d-i passwd/user-default-groups string audio cdrom video
  114. ### Clock and time zone setup
  115. # Controls whether or not the hardware clock is set to UTC.
  116. d-i clock-setup/utc boolean true
  117. # You may set this to any valid setting for $TZ; see the contents of
  118. # /usr/share/zoneinfo/ for valid values.
  119. d-i time/zone string Europe/Berlin
  120. # Controls whether to use NTP to set the clock during the install
  121. d-i clock-setup/ntp boolean true
  122. # NTP server to use. The default is almost always fine here.
  123. #d-i clock-setup/ntp-server string ntp.example.com
  124. ### Partitioning
  125. ## Partitioning example
  126. # If the system has free space you can choose to only partition that space.
  127. # This is only honoured if partman-auto/method (below) is not set.
  128. #d-i partman-auto/init_automatically_partition select biggest_free
  129. # Alternatively, you may specify a disk to partition. If the system has only
  130. # one disk the installer will default to using that, but otherwise the device
  131. # name must be given in traditional, non-devfs format (so e.g. /dev/sda
  132. # and not e.g. /dev/discs/disc0/disc).
  133. # For example, to use the first SCSI/SATA hard disk:
  134. #d-i partman-auto/disk string /dev/sda
  135. # In addition, you'll need to specify the method to use.
  136. # The presently available methods are:
  137. # - regular: use the usual partition types for your architecture
  138. # - lvm: use LVM to partition the disk
  139. # - crypto: use LVM within an encrypted partition
  140. d-i partman-auto/method string lvm
  141. d-i partman-auto-lvm/guided_size string max
  142. # If one of the disks that are going to be automatically partitioned
  143. # contains an old LVM configuration, the user will normally receive a
  144. # warning. This can be preseeded away...
  145. d-i partman-lvm/device_remove_lvm boolean true
  146. # The same applies to pre-existing software RAID array:
  147. d-i partman-md/device_remove_md boolean true
  148. # And the same goes for the confirmation to write the lvm partitions.
  149. d-i partman-lvm/confirm boolean true
  150. d-i partman-lvm/confirm_nooverwrite boolean true
  151. # You can choose one of the three predefined partitioning recipes:
  152. # - atomic: all files in one partition
  153. # - home: separate /home partition
  154. # - multi: separate /home, /var, and /tmp partitions
  155. d-i partman-auto/choose_recipe select atomic
  156. # Or provide a recipe of your own...
  157. # If you have a way to get a recipe file into the d-i environment, you can
  158. # just point at it.
  159. #d-i partman-auto/expert_recipe_file string /hd-media/recipe
  160. # If not, you can put an entire recipe into the preconfiguration file in one
  161. # (logical) line. This example creates a small /boot partition, suitable
  162. # swap, and uses the rest of the space for the root partition:
  163. #d-i partman-auto/expert_recipe string \
  164. # boot-root :: \
  165. # 40 50 100 ext3 \
  166. # $primary{ } $bootable{ } \
  167. # method{ format } format{ } \
  168. # use_filesystem{ } filesystem{ ext3 } \
  169. # mountpoint{ /boot } \
  170. # . \
  171. # 500 10000 1000000000 ext3 \
  172. # method{ format } format{ } \
  173. # use_filesystem{ } filesystem{ ext3 } \
  174. # mountpoint{ / } \
  175. # . \
  176. # 64 512 300% linux-swap \
  177. # method{ swap } format{ } \
  178. # .
  179. # The full recipe format is documented in the file partman-auto-recipe.txt
  180. # included in the 'debian-installer' package or available from D-I source
  181. # repository. This also documents how to specify settings such as file
  182. # system labels, volume group names and which physical devices to include
  183. # in a volume group.
  184. # This makes partman automatically partition without confirmation, provided
  185. # that you told it what to do using one of the methods above.
  186. d-i partman-partitioning/confirm_write_new_label boolean true
  187. d-i partman/choose_partition select finish
  188. d-i partman/confirm boolean true
  189. d-i partman/confirm_nooverwrite boolean true
  190. ## Partitioning using RAID
  191. # The method should be set to "raid".
  192. #d-i partman-auto/method string raid
  193. # Specify the disks to be partitioned. They will all get the same layout,
  194. # so this will only work if the disks are the same size.
  195. #d-i partman-auto/disk string /dev/sda /dev/sdb
  196. # Next you need to specify the physical partitions that will be used.
  197. #d-i partman-auto/expert_recipe string \
  198. # multiraid :: \
  199. # 1000 5000 4000 raid \
  200. # $primary{ } method{ raid } \
  201. # . \
  202. # 64 512 300% raid \
  203. # method{ raid } \
  204. # . \
  205. # 500 10000 1000000000 raid \
  206. # method{ raid } \
  207. # .
  208. # Last you need to specify how the previously defined partitions will be
  209. # used in the RAID setup. Remember to use the correct partition numbers
  210. # for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported;
  211. # devices are separated using "#".
  212. # Parameters are:
  213. # <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
  214. # <devices> <sparedevices>
  215. #d-i partman-auto-raid/recipe string \
  216. # 1 2 0 ext3 / \
  217. # /dev/sda1#/dev/sdb1 \
  218. # . \
  219. # 1 2 0 swap - \
  220. # /dev/sda5#/dev/sdb5 \
  221. # . \
  222. # 0 2 0 ext3 /home \
  223. # /dev/sda6#/dev/sdb6 \
  224. # .
  225. # For additional information see the file partman-auto-raid-recipe.txt
  226. # included in the 'debian-installer' package or available from D-I source
  227. # repository.
  228. # This makes partman automatically partition without confirmation.
  229. d-i partman-md/confirm boolean true
  230. d-i partman-partitioning/confirm_write_new_label boolean true
  231. d-i partman/choose_partition select finish
  232. d-i partman/confirm boolean true
  233. d-i partman/confirm_nooverwrite boolean true
  234. ## Controlling how partitions are mounted
  235. # The default is to mount by UUID, but you can also choose "traditional" to
  236. # use traditional device names, or "label" to try filesystem labels before
  237. # falling back to UUIDs.
  238. #d-i partman/mount_style select uuid
  239. ### Base system installation
  240. # Configure APT to not install recommended packages by default. Use of this
  241. # option can result in an incomplete system and should only be used by very
  242. # experienced users.
  243. #d-i base-installer/install-recommends boolean false
  244. # The kernel image (meta) package to be installed; "none" can be used if no
  245. # kernel is to be installed.
  246. #d-i base-installer/kernel/image string linux-image-586
  247. ### Apt setup
  248. # You can choose to install non-free and contrib software.
  249. #d-i apt-setup/non-free boolean true
  250. #d-i apt-setup/contrib boolean true
  251. # Uncomment this if you don't want to use a network mirror.
  252. #d-i apt-setup/use_mirror boolean false
  253. # Select which update services to use; define the mirrors to be used.
  254. # Values shown below are the normal defaults.
  255. d-i apt-setup/services-select multiselect security, updates
  256. d-i apt-setup/security_host string security.debian.org
  257. # Additional repositories, local[0-9] available
  258. #d-i apt-setup/local0/repository string \
  259. # http://local.server/debian stable main
  260. #d-i apt-setup/local0/comment string local server
  261. # Enable deb-src lines
  262. #d-i apt-setup/local0/source boolean true
  263. # URL to the public key of the local repository; you must provide a key or
  264. # apt will complain about the unauthenticated repository and so the
  265. # sources.list line will be left commented out
  266. #d-i apt-setup/local0/key string http://local.server/key
  267. # By default the installer requires that repositories be authenticated
  268. # using a known gpg key. This setting can be used to disable that
  269. # authentication. Warning: Insecure, not recommended.
  270. #d-i debian-installer/allow_unauthenticated boolean true
  271. # Uncomment this to add multiarch configuration for i386
  272. #d-i apt-setup/multiarch string i386
  273. ### Package selection
  274. #tasksel tasksel/first multiselect standard, web-server, kde-desktop
  275. tasksel tasksel/first multiselect server
  276. d-i pkgsel/include string openssh-server
  277. d-i pkgsel/update-policy select none
  278. # Individual additional packages to install
  279. #d-i pkgsel/include string openssh-server build-essential
  280. # Whether to upgrade packages after debootstrap.
  281. # Allowed values: none, safe-upgrade, full-upgrade
  282. #d-i pkgsel/upgrade select none
  283. # Some versions of the installer can report back on what software you have
  284. # installed, and what software you use. The default is not to report back,
  285. # but sending reports helps the project determine what software is most
  286. # popular and include it on CDs.
  287. popularity-contest popularity-contest/participate boolean false
  288. ### Boot loader installation
  289. # Grub is the default boot loader (for x86). If you want lilo installed
  290. # instead, uncomment this:
  291. #d-i grub-installer/skip boolean true
  292. # To also skip installing lilo, and install no bootloader, uncomment this
  293. # too:
  294. d-i lilo-installer/skip boolean true
  295. # This is fairly safe to set, it makes grub install automatically to the MBR
  296. # if no other operating system is detected on the machine.
  297. d-i grub-installer/only_debian boolean true
  298. # This one makes grub-installer install to the MBR if it also finds some other
  299. # OS, which is less safe as it might not be able to boot that other OS.
  300. #d-i grub-installer/with_other_os boolean true
  301. # Due notably to potential USB sticks, the location of the MBR can not be
  302. # determined safely in general, so this needs to be specified:
  303. #d-i grub-installer/bootdev string /dev/sda
  304. # To install to the first device (assuming it is not a USB stick):
  305. d-i grub-installer/bootdev string default
  306. # Alternatively, if you want to install to a location other than the mbr,
  307. # uncomment and edit these lines:
  308. #d-i grub-installer/only_debian boolean false
  309. #d-i grub-installer/with_other_os boolean false
  310. #d-i grub-installer/bootdev string (hd0,1)
  311. # To install grub to multiple disks:
  312. #d-i grub-installer/bootdev string (hd0,1) (hd1,1) (hd2,1)
  313. # Optional password for grub, either in clear text
  314. #d-i grub-installer/password password r00tme
  315. #d-i grub-installer/password-again password r00tme
  316. # or encrypted using an MD5 hash, see grub-md5-crypt(8).
  317. #d-i grub-installer/password-crypted password [MD5 hash]
  318. # Use the following option to add additional boot parameters for the
  319. # installed system (if supported by the bootloader installer).
  320. # Note: options passed to the installer will be added automatically.
  321. #d-i debian-installer/add-kernel-opts string nousb
  322. d-i debian-installer/add-kernel-opts console=tty0 console=ttyS0,115200
  323. ### Finishing up the installation
  324. # During installations from serial console, the regular virtual consoles
  325. # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
  326. # line to prevent this.
  327. #d-i finish-install/keep-consoles boolean true
  328. # Avoid that last message about the install being complete.
  329. d-i finish-install/reboot_in_progress note
  330. # This will prevent the installer from ejecting the CD during the reboot,
  331. # which is useful in some situations.
  332. #d-i cdrom-detect/eject boolean false
  333. # This is how to make the installer shutdown when finished, but not
  334. # reboot into the installed system.
  335. #d-i debian-installer/exit/halt boolean true
  336. # This will power off the machine instead of just halting it.
  337. d-i debian-installer/exit/poweroff boolean true
  338. ### Preseeding other packages
  339. # Depending on what software you choose to install, or if things go wrong
  340. # during the installation process, it's possible that other questions may
  341. # be asked. You can preseed those too, of course. To get a list of every
  342. # possible question that could be asked during an install, do an
  343. # installation, and then run these commands:
  344. # debconf-get-selections --installer > file
  345. # debconf-get-selections >> file
  346. #### Advanced options
  347. ### Running custom commands during the installation
  348. # d-i preseeding is inherently not secure. Nothing in the installer checks
  349. # for attempts at buffer overflows or other exploits of the values of a
  350. # preconfiguration file like this one. Only use preconfiguration files from
  351. # trusted locations! To drive that home, and because it's generally useful,
  352. # here's a way to run any shell command you'd like inside the installer,
  353. # automatically.
  354. # This first command is run as early as possible, just after
  355. # preseeding is read.
  356. #d-i preseed/early_command string anna-install some-udeb
  357. # This command is run immediately before the partitioner starts. It may be
  358. # useful to apply dynamic partitioner preseeding that depends on the state
  359. # of the disks (which may not be visible when preseed/early_command runs).
  360. #d-i partman/early_command \
  361. # string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
  362. # This command is run just before the install finishes, but when there is
  363. # still a usable /target directory. You can chroot to /target and use it
  364. # directly, or use the apt-install and in-target commands to easily install
  365. # packages and run commands in the target system.
  366. #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
  367. d-i preseed/late_command string mkdir -m 700 /target/root/.ssh && cp authorized_keys /target/root/.ssh/