henrydenhengst

ubuntudesktop-NL-16.04-LTS.seed

Jun 29th, 2016
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 21.55 KB | None | 0 0
  1. #### Contents of the preconfiguration file (for xenial)
  2. ### Localization 2Tg7Un5noo39
  3. # Preseeding only locale sets language, country and locale.
  4. # d-i debian-installer/locale string en_US
  5.  
  6. # The values can also be preseeded individually for greater flexibility.
  7. d-i debian-installer/language string en
  8. d-i debian-installer/country string NL
  9. d-i debian-installer/locale string en_US.UTF-8
  10. # Optionally specify additional locales to be generated.
  11. #d-i localechooser/supported-locales multiselect en_US.UTF-8, nl_NL.UTF-8
  12.  
  13. # Keyboard selection.
  14. # Disable automatic (interactive) keymap detection.
  15. d-i console-setup/ask_detect boolean false
  16. d-i keyboard-configuration/xkb-keymap select us
  17. # To select a variant of the selected layout:
  18. #d-i keyboard-configuration/xkb-keymap select us(dvorak)
  19. # d-i keyboard-configuration/toggle select No toggling
  20.  
  21. ### Network configuration
  22. # Disable network configuration entirely. This is useful for cdrom
  23. # installations on non-networked devices where the network questions,
  24. # warning and long timeouts are a nuisance.
  25. #d-i netcfg/enable boolean false
  26.  
  27. # netcfg will choose an interface that has link if possible. This makes it
  28. # skip displaying a list if there is more than one interface.
  29. d-i netcfg/choose_interface select auto
  30.  
  31. # To pick a particular interface instead:
  32. #d-i netcfg/choose_interface select eth1
  33.  
  34. # To set a different link detection timeout (default is 3 seconds).
  35. # Values are interpreted as seconds.
  36. #d-i netcfg/link_wait_timeout string 10
  37.  
  38. # If you have a slow dhcp server and the installer times out waiting for
  39. # it, this might be useful.
  40. #d-i netcfg/dhcp_timeout string 60
  41. #d-i netcfg/dhcpv6_timeout string 60
  42.  
  43. # If you prefer to configure the network manually, uncomment this line and
  44. # the static network configuration below.
  45. #d-i netcfg/disable_autoconfig boolean true
  46.  
  47. # If you want the preconfiguration file to work on systems both with and
  48. # without a dhcp server, uncomment these lines and the static network
  49. # configuration below.
  50. #d-i netcfg/dhcp_failed note
  51. #d-i netcfg/dhcp_options select Configure network manually
  52.  
  53. # Static network configuration.
  54. #
  55. # IPv4 example
  56. #d-i netcfg/get_ipaddress string 192.168.1.42
  57. #d-i netcfg/get_netmask string 255.255.255.0
  58. #d-i netcfg/get_gateway string 192.168.1.1
  59. #d-i netcfg/get_nameservers string 192.168.1.1
  60. #d-i netcfg/confirm_static boolean true
  61. #
  62. # IPv6 example
  63. #d-i netcfg/get_ipaddress string fc00::2
  64. #d-i netcfg/get_netmask string ffff:ffff:ffff:ffff::
  65. #d-i netcfg/get_gateway string fc00::1
  66. #d-i netcfg/get_nameservers string fc00::1
  67. #d-i netcfg/confirm_static boolean true
  68.  
  69. # Any hostname and domain names assigned from dhcp take precedence over
  70. # values set here. However, setting the values still prevents the questions
  71. # from being shown, even if values come from dhcp.
  72. d-i netcfg/get_hostname string unassigned-hostname
  73. d-i netcfg/get_domain string unassigned-domain
  74.  
  75. # If you want to force a hostname, regardless of what either the DHCP
  76. # server returns or what the reverse DNS entry for the IP is, uncomment
  77. # and adjust the following line.
  78. #d-i netcfg/hostname string somehost
  79.  
  80. # Disable that annoying WEP key dialog.
  81. d-i netcfg/wireless_wep string
  82. # The wacky dhcp hostname that some ISPs use as a password of sorts.
  83. #d-i netcfg/dhcp_hostname string radish
  84.  
  85. # If non-free firmware is needed for the network or other hardware, you can
  86. # configure the installer to always try to load it, without prompting. Or
  87. # change to false to disable asking.
  88. #d-i hw-detect/load_firmware boolean true
  89.  
  90. ### Network console
  91. # Use the following settings if you wish to make use of the network-console
  92. # component for remote installation over SSH. This only makes sense if you
  93. # intend to perform the remainder of the installation manually.
  94. #d-i anna/choose_modules string network-console
  95. #d-i network-console/authorized_keys_url string http://10.0.0.1/openssh-key
  96. #d-i network-console/password password r00tme
  97. #d-i network-console/password-again password r00tme
  98. # Use this instead if you prefer to use key-based authentication
  99. #d-i network-console/authorized_keys_url http://host/authorized_keys
  100.  
  101. ### Mirror settings
  102. # If you select ftp, the mirror/country string does not need to be set.
  103. #d-i mirror/protocol string ftp
  104. d-i mirror/country string manual
  105. d-i mirror/http/hostname string archive.ubuntu.com
  106. d-i mirror/http/directory string /ubuntu
  107. d-i mirror/http/proxy string
  108.  
  109. # Alternatively: by default, the installer uses CC.archive.ubuntu.com where
  110. # CC is the ISO-3166-2 code for the selected country. You can preseed this
  111. # so that it does so without asking.
  112. #d-i mirror/http/mirror select CC.archive.ubuntu.com
  113.  
  114. # Suite to install.
  115. #d-i mirror/suite string xenial
  116. # Suite to use for loading installer components (optional).
  117. #d-i mirror/udeb/suite string xenial
  118. # Components to use for loading installer components (optional).
  119. #d-i mirror/udeb/components multiselect main, restricted
  120.  
  121. ### Account setup
  122. # Skip creation of a root account (normal user account will be able to
  123. # use sudo). The default is false; preseed this to true if you want to set
  124. # a root password.
  125. d-i passwd/root-login boolean false
  126. # Alternatively, to skip creation of a normal user account.
  127. #d-i passwd/make-user boolean false
  128.  
  129. # Root password, either in clear text
  130. #d-i passwd/root-password password r00tme
  131. #d-i passwd/root-password-again password r00tme
  132. # or encrypted using a crypt(3)  hash.
  133. #d-i passwd/root-password-crypted password [crypt(3) hash]
  134.  
  135. # To create a normal user account.
  136. d-i passwd/user-fullname string Administrator
  137. d-i passwd/username string administrator
  138. # Normal user's password, either in clear text
  139. d-i passwd/user-password password Welcome!
  140. d-i passwd/user-password-again password Welcome!
  141. # or encrypted using a crypt(3) hash.
  142. #d-i passwd/user-password-crypted password [crypt(3) hash]
  143. # Create the first user with the specified UID instead of the default.
  144. #d-i passwd/user-uid string 1010
  145. # The installer will warn about weak passwords. If you are sure you know
  146. # what you're doing and want to override it, uncomment this.
  147. d-i user-setup/allow-password-weak boolean true
  148.  
  149. # The user account will be added to some standard initial groups. To
  150. # override that, use this.
  151. #d-i passwd/user-default-groups string audio cdrom video
  152.  
  153. # Set to true if you want to encrypt the first user's home directory.
  154. d-i user-setup/encrypt-home boolean false
  155.  
  156. ### Clock and time zone setup
  157. # Controls whether or not the hardware clock is set to UTC.
  158. d-i clock-setup/utc boolean true
  159.  
  160. # You may set this to any valid setting for $TZ; see the contents of
  161. # /usr/share/zoneinfo/ for valid values.
  162. d-i time/zone string Europe/Amsterdam
  163.  
  164. # Controls whether to use NTP to set the clock during the install
  165. d-i clock-setup/ntp boolean true
  166. # NTP server to use. The default is almost always fine here.
  167. #d-i clock-setup/ntp-server string ntp.example.com
  168.  
  169. ### Partitioning
  170. ## Partitioning example
  171. # If the system has free space you can choose to only partition that space.
  172. # This is only honoured if partman-auto/method (below) is not set.
  173. # Alternatives: custom, some_device, some_device_crypto, some_device_lvm.
  174. #d-i partman-auto/init_automatically_partition select biggest_free
  175.  
  176. # Alternatively, you may specify a disk to partition. If the system has only
  177. # one disk the installer will default to using that, but otherwise the device
  178. # name must be given in traditional, non-devfs format (so e.g. /dev/sda
  179. # and not e.g. /dev/discs/disc0/disc).
  180. # For example, to use the first SCSI/SATA hard disk:
  181. d-i partman-auto/disk string /dev/sda
  182. # In addition, you'll need to specify the method to use.
  183. # The presently available methods are:
  184. # - regular: use the usual partition types for your architecture
  185. # - lvm:     use LVM to partition the disk
  186. # - crypto:  use LVM within an encrypted partition
  187. d-i partman-auto/method string lvm
  188.  
  189. # If one of the disks that are going to be automatically partitioned
  190. # contains an old LVM configuration, the user will normally receive a
  191. # warning. This can be preseeded away...
  192. d-i partman-lvm/device_remove_lvm boolean true
  193. # The same applies to pre-existing software RAID array:
  194. d-i partman-md/device_remove_md boolean true
  195. # And the same goes for the confirmation to write the lvm partitions.
  196. d-i partman-lvm/confirm boolean true
  197. d-i partman-lvm/confirm_nooverwrite boolean true
  198.  
  199. # For LVM partitioning, you can select how much of the volume group to use
  200. # for logical volumes.
  201. #d-i partman-auto-lvm/guided_size string max
  202. #d-i partman-auto-lvm/guided_size string 10GB
  203. d-i partman-auto-lvm/guided_size string 100%
  204.  
  205. # You can choose one of the three predefined partitioning recipes:
  206. # - atomic: all files in one partition
  207. # - home:   separate /home partition
  208. # - multi:  separate /home, /var, and /tmp partitions
  209. d-i partman-auto/choose_recipe select atomic
  210.  
  211. # Or provide a recipe of your own...
  212. # If you have a way to get a recipe file into the d-i environment, you can
  213. # just point at it.
  214. #d-i partman-auto/expert_recipe_file string /hd-media/recipe
  215.  
  216. # If not, you can put an entire recipe into the preconfiguration file in one
  217. # (logical) line. This example creates a small /boot partition, suitable
  218. # swap, and uses the rest of the space for the root partition:
  219. #d-i partman-auto/expert_recipe string                         \
  220. #      boot-root ::                                            \
  221. #              40 50 100 ext3                                  \
  222. #                      $primary{ } $bootable{ }                \
  223. #                      method{ format } format{ }              \
  224. #                      use_filesystem{ } filesystem{ ext3 }    \
  225. #                      mountpoint{ /boot }                     \
  226. #              .                                               \
  227. #              500 10000 1000000000 ext3                       \
  228. #                      method{ format } format{ }              \
  229. #                      use_filesystem{ } filesystem{ ext3 }    \
  230. #                      mountpoint{ / }                         \
  231. #              .                                               \
  232. #              64 512 300% linux-swap                          \
  233. #                      method{ swap } format{ }                \
  234. #              .
  235.  
  236. # If you just want to change the default filesystem from ext3 to something
  237. # else, you can do that without providing a full recipe.
  238. d-i partman/default_filesystem string ext4
  239.  
  240. # The full recipe format is documented in the file partman-auto-recipe.txt
  241. # included in the 'debian-installer' package or available from D-I source
  242. # repository. This also documents how to specify settings such as file
  243. # system labels, volume group names and which physical devices to include
  244. # in a volume group.
  245.  
  246. # This makes partman automatically partition without confirmation, provided
  247. # that you told it what to do using one of the methods above.
  248. d-i partman-partitioning/confirm_write_new_label boolean true
  249. d-i partman/choose_partition select finish
  250. d-i partman/confirm boolean true
  251. d-i partman/confirm_nooverwrite boolean true
  252.  
  253. ## Partitioning using RAID
  254. # The method should be set to "raid".
  255. #d-i partman-auto/method string raid
  256. # Specify the disks to be partitioned. They will all get the same layout,
  257. # so this will only work if the disks are the same size.
  258. #d-i partman-auto/disk string /dev/sda /dev/sdb
  259.  
  260. # Next you need to specify the physical partitions that will be used.
  261. #d-i partman-auto/expert_recipe string \
  262. #      multiraid ::                                         \
  263. #              1000 5000 4000 raid                          \
  264. #                      $primary{ } method{ raid }           \
  265. #              .                                            \
  266. #              64 512 300% raid                             \
  267. #                      method{ raid }                       \
  268. #              .                                            \
  269. #              500 10000 1000000000 raid                    \
  270. #                      method{ raid }                       \
  271. #              .
  272.  
  273. # Last you need to specify how the previously defined partitions will be
  274. # used in the RAID setup. Remember to use the correct partition numbers
  275. # for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported;
  276. # devices are separated using "#".
  277. # Parameters are:
  278. # <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
  279. #          <devices> <sparedevices>
  280.  
  281. #d-i partman-auto-raid/recipe string \
  282. #    1 2 0 ext3 /                    \
  283. #          /dev/sda1#/dev/sdb1       \
  284. #    .                               \
  285. #    1 2 0 swap -                    \
  286. #          /dev/sda5#/dev/sdb5       \
  287. #    .                               \
  288. #    0 2 0 ext3 /home                \
  289. #          /dev/sda6#/dev/sdb6       \
  290. #    .
  291.  
  292. # For additional information see the file partman-auto-raid-recipe.txt
  293. # included in the 'debian-installer' package or available from D-I source
  294. # repository.
  295.  
  296. # This makes partman automatically partition without confirmation.
  297. d-i partman-md/confirm boolean true
  298. d-i partman-partitioning/confirm_write_new_label boolean true
  299. d-i partman/choose_partition select finish
  300. d-i partman/confirm boolean true
  301. d-i partman/confirm_nooverwrite boolean true
  302.  
  303. ## Controlling how partitions are mounted
  304. # The default is to mount by UUID, but you can also choose "traditional" to
  305. # use traditional device names, or "label" to try filesystem labels before
  306. # falling back to UUIDs.
  307. #d-i partman/mount_style select uuid
  308.  
  309. ### Base system installation
  310. # Configure a path to the preconfigured base filesystem. This can be used to
  311. # specify a path for the installer to retrieve the filesystem image that will
  312. # be deployed to disk and used as a base system for the installation.
  313. #d-i live-installer/net-image string /install/filesystem.squashfs
  314.  
  315. # Configure APT to not install recommended packages by default. Use of this
  316. # option can result in an incomplete system and should only be used by very
  317. # experienced users.
  318. #d-i base-installer/install-recommends boolean false
  319.  
  320. # The kernel image (meta) package to be installed; "none" can be used if no
  321. # kernel is to be installed.
  322. #d-i base-installer/kernel/image string linux-generic
  323.  
  324. ### Apt setup
  325. # You can choose to install restricted and universe software, or to install
  326. # software from the backports repository.
  327. d-i apt-setup/restricted boolean true
  328. d-i apt-setup/universe boolean true
  329. d-i apt-setup/backports boolean true
  330. # Uncomment this if you don't want to use a network mirror.
  331. #d-i apt-setup/use_mirror boolean false
  332. # Select which update services to use; define the mirrors to be used.
  333. # Values shown below are the normal defaults.
  334. #d-i apt-setup/services-select multiselect security
  335. #d-i apt-setup/security_host string security.ubuntu.com
  336. #d-i apt-setup/security_path string /ubuntu
  337.  
  338. # Additional repositories, local[0-9] available
  339. #d-i apt-setup/local0/repository string \
  340. #       http://local.server/ubuntu xenial main
  341. #d-i apt-setup/local0/comment string local server
  342. # Enable deb-src lines
  343. #d-i apt-setup/local0/source boolean true
  344. # URL to the public key of the local repository; you must provide a key or
  345. # apt will complain about the unauthenticated repository and so the
  346. # sources.list line will be left commented out
  347. #d-i apt-setup/local0/key string http://local.server/key
  348.  
  349. # By default the installer requires that repositories be authenticated
  350. # using a known gpg key. This setting can be used to disable that
  351. # authentication. Warning: Insecure, not recommended.
  352. #d-i debian-installer/allow_unauthenticated boolean true
  353.  
  354. # Uncomment this to add multiarch configuration for i386
  355. #d-i apt-setup/multiarch string i386
  356.  
  357.  
  358. ### Package selection
  359. tasksel tasksel/first multiselect ubuntu-desktop
  360. #tasksel tasksel/first multiselect lamp-server, print-server
  361. #tasksel tasksel/first multiselect kubuntu-desktop
  362.  
  363. # Individual additional packages to install
  364. d-i pkgsel/include string openssh-server build-essential synaptic vlc gimp bleachbit flashplugin-installer unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract filezilla chromium-browser vim ufw tree inkscape gparted shutter remmina putty clamav tcpdump htop traceroute mtr netcat socat iftop tshark iperf nmap tcputils cryptsetup rkhunter chkrootkit duplicity nethogs iotop screen apt-file iptraf curl hddtemp aptitude git ethtool hping3
  365. # Whether to upgrade packages after debootstrap.
  366. # Allowed values: none, safe-upgrade, full-upgrade
  367. d-i pkgsel/upgrade select full-upgrade
  368.  
  369. # Language pack selection
  370. #d-i pkgsel/language-packs multiselect de, en, zh
  371.  
  372. # Policy for applying updates. May be "none" (no automatic updates),
  373. # "unattended-upgrades" (install security updates automatically), or
  374. # "landscape" (manage system with Landscape).
  375. d-i pkgsel/update-policy select unattended-upgrades
  376.  
  377. # Some versions of the installer can report back on what software you have
  378. # installed, and what software you use. The default is not to report back,
  379. # but sending reports helps the project determine what software is most
  380. # popular and include it on CDs.
  381. #popularity-contest popularity-contest/participate boolean false
  382.  
  383. # By default, the system's locate database will be updated after the
  384. # installer has finished installing most packages. This may take a while, so
  385. # if you don't want it, you can set this to "false" to turn it off.
  386. d-i pkgsel/updatedb boolean true
  387.  
  388. ### Boot loader installation
  389. # Grub is the default boot loader (for x86). If you want lilo installed
  390. # instead, uncomment this:
  391. #d-i grub-installer/skip boolean true
  392. # To also skip installing lilo, and install no bootloader, uncomment this
  393. # too:
  394. #d-i lilo-installer/skip boolean true
  395.  
  396.  
  397. # This is fairly safe to set, it makes grub install automatically to the MBR
  398. # if no other operating system is detected on the machine.
  399. d-i grub-installer/only_debian boolean true
  400.  
  401. # This one makes grub-installer install to the MBR if it also finds some other
  402. # OS, which is less safe as it might not be able to boot that other OS.
  403. d-i grub-installer/with_other_os boolean true
  404.  
  405. # Due notably to potential USB sticks, the location of the MBR can not be
  406. # determined safely in general, so this needs to be specified:
  407. d-i grub-installer/bootdev  string /dev/sda
  408. # To install to the first device (assuming it is not a USB stick):
  409. #d-i grub-installer/bootdev  string default
  410.  
  411. # Alternatively, if you want to install to a location other than the mbr,
  412. # uncomment and edit these lines:
  413. #d-i grub-installer/only_debian boolean false
  414. #d-i grub-installer/with_other_os boolean false
  415. #d-i grub-installer/bootdev  string (hd0,1)
  416. # To install grub to multiple disks:
  417. #d-i grub-installer/bootdev  string (hd0,1) (hd1,1) (hd2,1)
  418.  
  419. # Optional password for grub, either in clear text
  420. #d-i grub-installer/password password r00tme
  421. #d-i grub-installer/password-again password r00tme
  422. # or encrypted using an MD5 hash, see grub-md5-crypt(8).
  423. #d-i grub-installer/password-crypted password [MD5 hash]
  424.  
  425. # Use the following option to add additional boot parameters for the
  426. # installed system (if supported by the bootloader installer).
  427. # Note: options passed to the installer will be added automatically.
  428. #d-i debian-installer/add-kernel-opts string nousb
  429.  
  430. ### Finishing up the installation
  431. # During installations from serial console, the regular virtual consoles
  432. # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
  433. # line to prevent this.
  434. d-i finish-install/keep-consoles boolean true
  435.  
  436. # Avoid that last message about the install being complete.
  437. d-i finish-install/reboot_in_progress note
  438.  
  439. # This will prevent the installer from ejecting the CD during the reboot,
  440. # which is useful in some situations.
  441. #d-i cdrom-detect/eject boolean false
  442.  
  443. # This is how to make the installer shutdown when finished, but not
  444. # reboot into the installed system.
  445. #d-i debian-installer/exit/halt boolean true
  446. # This will power off the machine instead of just halting it.
  447. #d-i debian-installer/exit/poweroff boolean true
  448.  
  449. ### Preseeding other packages
  450. # Depending on what software you choose to install, or if things go wrong
  451. # during the installation process, it's possible that other questions may
  452. # be asked. You can preseed those too, of course. To get a list of every
  453. # possible question that could be asked during an install, do an
  454. # installation, and then run these commands:
  455. #   debconf-get-selections --installer > file
  456. #   debconf-get-selections >> file
  457.  
  458.  
  459. #### Advanced options
  460. ### Running custom commands during the installation
  461. # d-i preseeding is inherently not secure. Nothing in the installer checks
  462. # for attempts at buffer overflows or other exploits of the values of a
  463. # preconfiguration file like this one. Only use preconfiguration files from
  464. # trusted locations! To drive that home, and because it's generally useful,
  465. # here's a way to run any shell command you'd like inside the installer,
  466. # automatically.
  467.  
  468. # This first command is run as early as possible, just after
  469. # preseeding is read.
  470. #d-i preseed/early_command string anna-install some-udeb
  471. # This command is run immediately before the partitioner starts. It may be
  472. # useful to apply dynamic partitioner preseeding that depends on the state
  473. # of the disks (which may not be visible when preseed/early_command runs).
  474. #d-i partman/early_command \
  475. #       string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
  476. # This command is run just before the install finishes, but when there is
  477. # still a usable /target directory. You can chroot to /target and use it
  478. # directly, or use the apt-install and in-target commands to easily install
  479. # packages and run commands in the target system.
  480. #d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
Advertisement
Add Comment
Please, Sign In to add comment