summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-04 23:26:09 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-04 23:26:09 +0200
commitceafa5b30eec02940c6a62526fa81c09d40b1b59 (patch)
treeaf076e4a9d7441cb051cafe600e85dd7274188f9 /roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j2
parentmove usb install role to installer/debian/ (diff)
parentinstall/preseed: convert old host configs to new partman layout (diff)
Merge branch 'topic/preseed-configurable-disk-layout-contd'
Diffstat (limited to 'roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j2')
-rw-r--r--roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j273
1 files changed, 1 insertions, 72 deletions
diff --git a/roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j2 b/roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j2
index eeda9943..2312f2b0 100644
--- a/roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j2
+++ b/roles/installer/debian/preseed/templates/preseed_xubuntu-focal-desktop.cfg.j2
@@ -57,78 +57,7 @@ d-i time/zone string Europe/Vienna
d-i clock-setup/ntp boolean false
-d-i partman/early_command string \
- debconf-set partman-auto/disk "$(readlink -f {{ hostvars[install_hostname].install_cooked.disks.primary }})"; \
- debconf-set grub-installer/bootdev "$(readlink -f {{ hostvars[install_hostname].install_cooked.disks.primary }})"; \
- umount -l /media || true
-
-d-i partman/confirm boolean true
-d-i partman/confirm_nooverwrite boolean true
-d-i partman-md/device_remove_md boolean true
-d-i partman-md/confirm boolean true
-d-i partman-md/confirm_nooverwrite boolean true
-d-i partman-lvm/device_remove_lvm boolean true
-d-i partman-lvm/confirm boolean true
-d-i partman-lvm/confirm_nooverwrite boolean true
-
-d-i partman-auto/method string lvm
-d-i partman-auto/purge_lvm_from_device boolean true
-d-i partman-auto-lvm/new_vg_name string {{ hostvars[install_hostname].host_name }}
-d-i partman-auto-lvm/guided_size string max
-d-i partman-auto-lvm/no_boot boolean true
-
-{% if (hostvars[install_hostname].install_cooked.efi | default(false)) %}
-d-i partman-efi/non_efi_system boolean true
-d-i partman/choose_label string gpt
-d-i partman/default_label string gpt
-{% endif %}
-d-i partman-auto/expert_recipe string \
- boot-root :: \
-{% if (hostvars[install_hostname].install_cooked.efi | default(false)) %}
- 100 100 128 fat16 \
- $defaultignore{ } $primary{ } $bootable{ } \
- method{ efi } format{ } \
- . \
-{% endif %}
- 1000 10000 -1 ext4 \
- $defaultignore{ } $primary{ } $bootable{ } \
- method{ lvm } vg_name{ {{ hostvars[install_hostname].host_name }} } \
- . \
- 15360 10000 20480 ext4 \
- $lvmok{ } in_vg{ {{ hostvars[install_hostname].host_name }} } \
- method{ format } format{ } \
- use_filesystem{ } filesystem{ ext4 } \
- mountpoint{ / } \
- . \
- 768 10000 768 ext4 \
- $lvmok{ } in_vg{ {{ hostvars[install_hostname].host_name }} } \
- method{ format } format{ } \
- use_filesystem{ } filesystem{ ext4 } \
- mountpoint{ /var/log } \
- options/nodev{ nodev } options/noatime{ noatime } \
- options/noexec{ noexec } \
- . \
- 20480 10000 40960 ext4 \
- $lvmok{ } in_vg{ {{ hostvars[install_hostname].host_name }} } \
- method{ format } format{ } \
- use_filesystem{ } filesystem{ ext4 } \
- mountpoint{ /home } \
- . \
- 16 20000 -1 ext4 \
- $lvmok{ } in_vg{ {{ hostvars[install_hostname].host_name }} } \
- lv_name{ dummy } \
- .
-
-d-i partman-basicfilesystems/no_swap true
-d-i partman-partitioning/confirm_write_new_label boolean true
-d-i partman/choose_partition select finish
-
-
-## boot devices are configured by partman/early_command
-d-i grub-installer/bootdev seen true
-d-i grub-installer/choose_bootdev seen true
-d-i grub-installer/only_debian boolean true
-d-i grub-installer/with_other_os boolean false
+{% include 'partman_config.j2' %}
d-i base-installer/install-recommends boolean false