Articles I've written for customers on IT issues.
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.

202 lines
4.6 KiB

5 years ago
  1. #_preseed_V0.5
  2. # NOTE: this has a pause at the partitioning stage for safety (don't want to erase hdds)
  3. # This is for i386 kernel
  4. # to use, upload to a paste text site somewhere, and point automated install here.
  5. # 1. Choose language
  6. # ==================
  7. d-i debian-installer/language string en
  8. d-i debian-installer/country string US
  9. d-i localechooser/supported-locales multiselect en_US.UTF-8, en_DK.UTF-8
  10. d-i debian-installer/locale select en_US.UTF-8
  11. # 2. Configure the keyboard
  12. # =========================
  13. d-i keyboard-configuration/xkb-keymap select us
  14. # 3. Detect and mount CD-ROM
  15. # ==========================
  16. d-i cdrom-detect/load_media boolean true
  17. # 4. Load installer components from CD
  18. # 5. Detect network hardware
  19. #
  20. d-i hw-detect/load_media boolean false
  21. d-i hw-detect/load_firmware boolean false
  22. # 6. Configure the network
  23. # ========================
  24. # Auto-configure networking?
  25. d-i netcfg/use_autoconfig boolean true
  26. # Waiting time (in seconds) for link detection:
  27. d-i netcfg/link_wait_timeout string 10
  28. d-i netcfg/dhcp_timeout string 60
  29. d-i netcfg/dhcpv6_timeout string 60
  30. d-i netcfg/choose_interface select auto
  31. # Hostname:
  32. d-i netcfg/get_hostname string devuan_host
  33. d-i netcfg/hostname devuan_host
  34. # Domain name:
  35. d-i netcfg/get_domain string local
  36. #
  37. d-i netcfg/wireless_wep string
  38. # 7. Setup users and passwords
  39. # ============================
  40. # Enable shadow passwords?
  41. d-i passwd/shadow boolean true
  42. # Allow login as root?
  43. d-i passwd/root-login boolean true
  44. # Root password:
  45. d-i passwd/root-password password defpass123
  46. # Create a normal account now?
  47. d-i passwd/make-user boolean false
  48. # 8. Configure the clock
  49. # ======================
  50. # Set the clock using NTP?
  51. d-i clock-setup/ntp boolean true
  52. # NTP server to use:
  53. d-i clock-setup/ntp-server string pool.ntp.org
  54. # Select your timezone:
  55. d-i time/zone string America/New_York
  56. # 9. Detect disks
  57. # 10. Partition disks
  58. # ===================
  59. d-i partman-auto/disk string /dev/sda
  60. d-i partman-auto/method string regular
  61. # You can choose one of the three predefined partitioning recipes:
  62. # - atomic: all files in one partition
  63. # - home: separate /home partition
  64. # - multi: separate /home, /usr, /var, and /tmp partitions
  65. d-i partman-auto/choose_recipe select atomic
  66. #NOTE: it may warn you before partitioning. This is a safety check and can be omitted if desired.
  67. # 11. Install the base system
  68. # ===========================
  69. #NOTE: i386 here##################################################
  70. # Kernel to install:
  71. d-i base-installer/kernel/image string linux-image-i386
  72. # Drivers to include in the initrd:
  73. #
  74. d-i base-installer/install-recommends boolean true
  75. # 12. Configure the package manager
  76. # =================================
  77. # Use a network mirror?
  78. d-i apt-setup/use_mirror boolean true
  79. # Protocol for file downloads:
  80. d-i mirror/protocol string http
  81. # Devuan archive mirror country:
  82. d-i mirror/country string manual
  83. # Devuan archive mirror:
  84. d-i mirror/http/hostname string deb.devuan.org
  85. # HTTP proxy information (blank for none):
  86. d-i mirror/http/proxy string
  87. #
  88. d-i mirror/http/directory string /merged/
  89. d-i mirror/suite string ascii
  90. # Use non-free software?
  91. d-i apt-setup/non-free boolean false
  92. # Enable source repositories in APT?
  93. d-i apt-setup/enable-source-repositories boolean false
  94. # Services to use:
  95. d-i apt-setup/services-select multiselect security updates, release updates, backported software
  96. #
  97. d-i apt-setup/contrib boolean false
  98. d-i apt-setup/disable-cdrom-entries boolean true
  99. # 13. Select and install software
  100. # ===============================
  101. # Participate in the package usage survey?
  102. popularity-contest popularity-contest/participate boolean false
  103. # Choose software to install:
  104. tasksel tasksel/first multiselect standard, ssh-server
  105. #
  106. d-i pkgsel/include string openssh-server build-essential sudo screen
  107. d-i pkgsel/upgrade select none
  108. # 14. Install the GRUB boot loader on a hard disk
  109. # ===============================================
  110. # Install the GRUB boot loader to the master boot record?
  111. d-i grub-installer/with_other_os boolean true
  112. #
  113. d-i grub-installer/only_debian boolean true
  114. d-i grub-installer/grub2_instead_of_grub_legacy boolean true
  115. # Device for boot loader installation:
  116. d-i grub-installer/bootdev string /dev/sda
  117. d-i grub-installer/choose_bootdev select /dev/sda
  118. # Force GRUB installation to the EFI removable media path?
  119. grub-installer grub-installer/force-efi-extra-removable boolean false
  120. # 15. Finish the installation
  121. # ===========================
  122. # Is the system clock set to UTC?
  123. d-i clock-setup/utc boolean true
  124. #
  125. d-i finish-install/reboot_in_progress note
  126. d-i cdrom-detect/eject boolean true