Packer Webserver: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „ ==Preceed File== */var/www/html/preseed/debian11/preseed.cfg <syntaxhighlight> choose-mirror-bin mirror/http/proxy string d-i apt-setup/use_mirror boolean tr…“)
 
Zeile 3: Zeile 3:
 
==Preceed File==
 
==Preceed File==
 
*/var/www/html/preseed/debian11/preseed.cfg
 
*/var/www/html/preseed/debian11/preseed.cfg
<syntaxhighlight>
+
<syntaxhighlight lang="cfg">
 
choose-mirror-bin mirror/http/proxy string
 
choose-mirror-bin mirror/http/proxy string
 
d-i apt-setup/use_mirror boolean true
 
d-i apt-setup/use_mirror boolean true
Zeile 62: Zeile 62:
 
tasksel tasksel/first multiselect standard, ssh-server
 
tasksel tasksel/first multiselect standard, ssh-server
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
==Ablegen der ISO Datei==
 
==Ablegen der ISO Datei==
 
*/var/www/html/isos/debian-11.3.0-amd64-netinst.iso
 
*/var/www/html/isos/debian-11.3.0-amd64-netinst.iso

Version vom 6. April 2022, 08:13 Uhr


Preceed File

  • /var/www/html/preseed/debian11/preseed.cfg
choose-mirror-bin mirror/http/proxy string
d-i apt-setup/use_mirror boolean true
d-i base-installer/kernel/override-image string linux-server
d-i clock-setup/utc boolean true
d-i clock-setup/utc-auto boolean true
d-i finish-install/reboot_in_progress note
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i keymap select us
d-i mirror/country string manual
d-i mirror/http/directory string /debian
d-i mirror/http/hostname string httpredir.debian.org
d-i mirror/http/proxy string
d-i partman-auto/disk string
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string                         \
      boot-root ::                                            \
              512 512 300% linux-swap                          \
                      $primary{ }                             \
                      method{ swap } format{ }                \
              .                                               \
              4000 10000 1000000000 ext4                       \
                      $primary{ }                             \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext3 }    \
                      mountpoint{ / }                         \
              .

d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true
d-i passwd/root-login boolean false
d-i passwd/root-password-again password vagrant
d-i passwd/root-password password vagrant
d-i passwd/user-fullname string vagrant
d-i passwd/user-uid string 1000
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i passwd/username string vagrant
d-i pkgsel/include string sudo bzip2 acpid cryptsetup zlib1g-dev wget curl dkms fuse make nfs-common net-tools cifs-utils rsync cloud-init
d-i pkgsel/install-language-support boolean false
d-i pkgsel/update-policy select none
d-i pkgsel/upgrade select full-upgrade
# Prevent packaged version of VirtualBox Guest Additions being installed:
d-i preseed/early_command string sed -i \
  '/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \
  /usr/lib/pre-pkgsel.d/20install-hwpackages
d-i time/zone string UTC
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
d-i preseed/late_command string sed -i '/^deb cdrom:/s/^/#/' /target/etc/apt/sources.list
apt-cdrom-setup apt-setup/cdrom/set-first boolean false
apt-mirror-setup apt-setup/use_mirror boolean true
popularity-contest popularity-contest/participate boolean false
tasksel tasksel/first multiselect standard, ssh-server

Ablegen der ISO Datei

  • /var/www/html/isos/debian-11.3.0-amd64-netinst.iso