Advertisement
Guest User

preseed.cfg

a guest
Oct 19th, 2017
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. ### Localization
  2. # Preseeding only locale sets language, country and locale.
  3. d-i debian-installer/locale string en_US
  4.  
  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 RU
  8. d-i debian-installer/locale string en_US.UTF-8
  9. # Optionally specify additional locales to be generated.
  10. d-i localechooser/supported-locales multiselect en_US.UTF-8, ru_RU.UTF-8
  11.  
  12. # Keyboard selection.
  13. d-i console-setup/ask_detect boolean false
  14. d-i keyboard-configuration/layout select USA
  15. d-i keyboard-configuration/varian select USA
  16. d-i keyboard-configuration/modelcode string pc105
  17. #d-i keyboard-configuration/xkb-keymap select us
  18. #d-i keyboard-configuration/xkb-keymap select ru
  19. #d-i keyboard-configuration/toggle select Ctrl+Shift
  20.  
  21. # netcfg will choose an interface that has link if possible. This makes it
  22. # skip displaying a list if there is more than one interface.
  23. d-i netcfg/choose_interface select auto
  24.  
  25. # Any hostname and domain names assigned from dhcp take precedence over
  26. # values set here. However, setting the values still prevents the questions
  27. # from being shown, even if values come from dhcp.
  28. # d-i netcfg/get_hostname string unassigned-hostname
  29. d-i netcfg/get_domain string ***
  30.  
  31. # Disable that annoying WEP key dialog.
  32. d-i netcfg/wireless_wep string
  33. # The wacky dhcp hostname that some ISPs use as a password of sorts.
  34. #d-i netcfg/dhcp_hostname string radish
  35.  
  36. ###Network console
  37. #d-i anna/choose_modules string network-console
  38. #d-i preseed/early_command string anna-install network-console
  39. #d-i network-console/authorized_keys_url string http://***/
  40. #d-i network-console/password password user
  41. #d-i network-console/password-again password user
  42.  
  43. ### Mirror settings
  44. # If you select ftp, the mirror/country string does not need to be set.
  45. d-i mirror/country string manual
  46. d-i mirror/http/hostname string archive.ubuntu.com
  47. d-i mirror/http/directory string /ubuntu
  48. d-i mirror/http/proxy string
  49.  
  50. # Suite to install.
  51. #d-i mirror/suite string testing
  52. # Suite to use for loading installer components (optional).
  53. #d-i mirror/udeb/suite string testing
  54.  
  55. ### Account setup
  56. # Skip creation of a root account (normal user account will be able to
  57. # use sudo).
  58. d-i passwd/root-login boolean false
  59. # Alternatively, to skip creation of a normal user account.
  60. #d-i passwd/make-user boolean false
  61.  
  62. # Root password, either in clear text
  63. #d-i passwd/root-password password r00tme
  64. #d-i passwd/root-password-again password r00tme
  65. # or encrypted using an MD5 hash.
  66. #d-i passwd/root-password-crypted password [MD5 hash]
  67.  
  68. # To create a normal user account.
  69. d-i passwd/user-fullname string user
  70. d-i passwd/username string user
  71. # Normal user's password, either in clear text
  72. d-i passwd/user-password password user
  73. d-i passwd/user-password-again password user
  74. # or encrypted using an MD5 hash.
  75. #d-i passwd/user-password-crypted password [MD5 hash]
  76. # Create the first user with the specified UID instead of the default.
  77. #d-i passwd/user-uid string 1010
  78.  
  79. # The user account will be added to some standard initial groups. To
  80. # override that, use this.
  81. #d-i passwd/user-default-groups string audio cdrom video
  82.  
  83. d-i user-setup/encrypt-home boolean false
  84. ### Clock and time zone setup
  85. # Controls whether or not the hardware clock is set to UTC.
  86. d-i clock-setup/utc boolean true
  87.  
  88. # You may set this to any valid setting for $TZ; see the contents of
  89. # /usr/share/zoneinfo/ for valid values.
  90. d-i time/zone string Europe/Moscow
  91.  
  92. # Controls whether to use NTP to set the clock during the install
  93. d-i clock-setup/ntp boolean true
  94. # NTP server to use. The default is almost always fine here.
  95. d-i clock-setup/ntp-server string time.***.ru
  96.  
  97. ### Partitioning
  98. d-i partman-auto/method string lvm
  99.  
  100. # If one of the disks that are going to be automatically partitioned
  101. # contains an old LVM configuration, the user will normally receive a
  102. # warning. This can be preseeded away...
  103. d-i partman-lvm/device_remove_lvm boolean true
  104. # The same applies to pre-existing software RAID array:
  105. d-i partman-md/device_remove_md boolean true
  106. # And the same goes for the confirmation to write the lvm partitions.
  107. d-i partman-lvm/confirm boolean true
  108. d-i partman-lvm/confirm_nooverwrite boolean true
  109. d-i partman-auto-lvm/guided_size string max
  110.  
  111. # You can choose one of the three predefined partitioning recipes:
  112. # - atomic: all files in one partition
  113. # - home: separate /home partition
  114. # - multi: separate /home, /var, and /tmp partitions
  115. d-i partman-auto/choose_recipe select multi
  116.  
  117. # This makes partman automatically partition without confirmation, provided
  118. # that you told it what to do using one of the methods above.
  119. d-i partman-partitioning/confirm_write_new_label boolean true
  120. d-i partman/choose_partition select finish
  121. d-i partman/confirm boolean true
  122. d-i partman/confirm_nooverwrite boolean true
  123.  
  124. ## Controlling how partitions are mounted
  125. # The default is to mount by UUID, but you can also choose "traditional" to
  126. # use traditional device names, or "label" to try filesystem labels before
  127. # falling back to UUIDs.
  128. d-i partman/mount_style select uuid
  129.  
  130. ### Base system installation
  131. # Configure APT to not install recommended packages by default. Use of this
  132. # option can result in an incomplete system and should only be used by very
  133. # experienced users.
  134. #d-i base-installer/install-recommends boolean false
  135.  
  136. # The kernel image (meta) package to be installed; "none" can be used if no
  137. # kernel is to be installed.
  138. d-i base-installer/kernel/image string linux-generic
  139.  
  140. ### Apt setup
  141. # You can choose to install non-free and contrib software.
  142. d-i apt-setup/restricted boolean true
  143. d-i apt-setup/universe boolean true
  144. d-i apt-setup/backports boolean true
  145. #d-i apt-setup/services-select multiselect security, updates
  146. d-i apt-setup/security_host string security.ubuntu.com
  147. d-i apt-setup/security_patch string /ubuntu
  148.  
  149. # Additional repositories, local[0-9] available
  150. # By default the installer requires that repositories be authenticated
  151. # using a known gpg key. This setting can be used to disable that
  152. # authentication. Warning: Insecure, not recommended.
  153. #d-i debian-installer/allow_unauthenticated boolean true
  154.  
  155. # Uncomment this to add multiarch configuration for i386
  156. #d-i apt-setup/multiarch string i386
  157.  
  158. ### Package selection
  159. tasksel tasksel/first multiselect ubuntu-server
  160.  
  161. # Individual additional packages to install
  162. #d-i pkgsel/include string openssh-server build-essential
  163. # Whether to upgrade packages after debootstrap.
  164. # Allowed values: none, safe-upgrade, full-upgrade
  165. #d-i pkgsel/upgrade select none
  166. d-i pkgsel/language-packs multiselect en
  167. d-i pkgsel/update-policy select none
  168. popularity-contest popularity-contest/participate boolean false
  169.  
  170. # This is fairly safe to set, it makes grub install automatically to the MBR
  171. # if no other operating system is detected on the machine.
  172. d-i grub-installer/only_debian boolean true
  173.  
  174. # Due notably to potential USB sticks, the location of the MBR can not be
  175. # determined safely in general, so this needs to be specified:
  176. d-i grub-installer/bootdev string /dev/sda
  177. # To install to the first device (assuming it is not a USB stick):
  178. #d-i grub-installer/bootdev string default
  179.  
  180. # Avoid that last message about the install being complete.
  181. d-i finish-install/reboot_in_progress note
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement