add support for raid-config
This commit is contained in:
1 parent
f7a6479c51
commit
6328e907ae
2 files changed
+42
-4
No files matched your search
@@ -171,7 +171,7 @@ d-i clock-setup/ntp-server string {{ debianunattended_ntpserver }}
|
||||
# - regular: use the usual partition types for your architecture
|
||||
# - lvm: use LVM to partition the disk
|
||||
# - crypto: use LVM within an encrypted partition
|
||||
d-i partman-auto/method string regular
|
||||
d-i partman-auto/method string {{ debianunattended_partman_auto_method | default('regular') }}
|
||||
|
||||
# You can define the amount of space that will be used for the LVM volume
|
||||
# group. It can either be a size with its unit (eg. 20 GB), a percentage of
|
||||
@@ -192,8 +192,9 @@ d-i partman-lvm/confirm_nooverwrite boolean true
|
||||
# - atomic: all files in one partition
|
||||
# - home: separate /home partition
|
||||
# - multi: separate /home, /var, and /tmp partitions
|
||||
{% if debianunattended_partman_auto_expert_recipe is not defined %}
|
||||
d-i partman-auto/choose_recipe select atomic
|
||||
|
||||
{% endif %}
|
||||
# Or provide a recipe of your own...
|
||||
# If you have a way to get a recipe file into the d-i environment, you can
|
||||
# just point at it.
|
||||
@@ -261,8 +262,12 @@ d-i partman/confirm_nooverwrite boolean true
|
||||
# Specify the disks to be partitioned. They will all get the same layout,
|
||||
# so this will only work if the disks are the same size.preseed
|
||||
#d-i partman-auto/disk string /dev/sda /dev/sdb
|
||||
{% if debianunattended_partman_auto_disk is defined %}
|
||||
d-i partman-auto/disk string {{ debianunattended_partman_auto_disk }}
|
||||
{% endif %}
|
||||
|
||||
# Next you need to specify the physical partitions that will be used.
|
||||
{{ debianunattended_partman_auto_expert_recipe | default('') }}
|
||||
#d-i partman-auto/expert_recipe string \
|
||||
# multiraid :: \
|
||||
# 1000 5000 4000 raid \
|
||||
@@ -283,6 +288,7 @@ d-i partman/confirm_nooverwrite boolean true
|
||||
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
|
||||
# <devices> <sparedevices>
|
||||
|
||||
{{ debianunattended_partman_auto_raid_recipe | default('') }}
|
||||
#d-i partman-auto-raid/recipe string \
|
||||
# 1 2 0 ext3 / \
|
||||
# /dev/sda1#/dev/sdb1 \
|
||||
@@ -304,6 +310,8 @@ 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_nochanges boolean true
|
||||
d-i partman-md/confirm_nooverwrite boolean true
|
||||
|
||||
## Controlling how partitions are mounted
|
||||
# The default is to mount by UUID, but you can also choose "traditional" to
|
||||
@@ -400,7 +408,7 @@ d-i grub-installer/with_other_os boolean true
|
||||
# not be determined safely in general, so this needs to be specified:
|
||||
#d-i grub-installer/bootdev string /dev/sda
|
||||
# To install to the primary device (assuming it is not a USB stick):
|
||||
d-i grub-installer/bootdev string default
|
||||
d-i grub-installer/bootdev string {{ debianunattended_partman_auto_disk | default('default') }}
|
||||
|
||||
# Alternatively, if you want to install to a location other than the UEFI
|
||||
# parition/boot record, uncomment and edit these lines:
|
||||
|
||||
Reference in new issue
Block a user