Skip to content

Commit

Permalink
Add support for Debian 12 amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-slowik committed Aug 3, 2023
1 parent 915b1fd commit 88d59da
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
42 changes: 42 additions & 0 deletions 12-amd64.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select us

d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string localdomain

d-i hw-detect/load_firmware boolean false

d-i mirror/protocol string http
d-i mirror/suite string bookworm

d-i passwd/root-password password root
d-i passwd/root-password-again password root
d-i passwd/user-fullname string test
d-i passwd/username string test
d-i passwd/user-password password test
d-i passwd/user-password-again password test
d-i passwd/user-default-groups string sudo

d-i clock-setup/utc boolean true
d-i time/zone string Europe/Warsaw
d-i clock-setup/ntp boolean false

d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
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 base-installer/kernel/image string linux-image-amd64

tasksel tasksel/first multiselect standard ssh-server
d-i pkgsel/upgrade select full-upgrade
d-i pkgsel/include string sudo

d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string default

d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true
1 change: 1 addition & 0 deletions preseed_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def iso_get_boot_filenames(iso_filename: str) -> Tuple[str, str]:
(10, "arm64"): ("/install.a64/vmlinuz", "/install.a64/initrd.gz"),
(10, "armhf"): ("/install.ahf/cdrom/vmlinuz", "/install.ahf/cdrom/initrd.gz"),
(11, "amd64"): ("/install.amd/vmlinuz", "/install.amd/initrd.gz"),
(12, "amd64"): ("/install.amd/vmlinuz", "/install.amd/initrd.gz"),
}
version = get_debian_version(iso_filename)
arch = get_debian_architecture(iso_filename)
Expand Down

0 comments on commit 88d59da

Please sign in to comment.