Bug#790941: partman-md: RAID10 not configurable by preseeding
Package: partman-md
Version: 75
Severity: normal
Dear Maintainer,
As "partman-md/raid10layout" is force-set to "n2" by the script itself,
the question is never asked for, and overwrites what is specified by
preseeding.
diff --git a/choose_partition/md/do_option b/choose_partition/md/do_option
index b3f7c02..e29cc02 100755
--- a/choose_partition/md/do_option
+++ b/choose_partition/md/do_option
@@ -226,7 +226,6 @@ md_create_array () {
local layout=
if [ "$level" -eq 10 ]; then
- db_set partman-md/raid10layout n2
while :; do
db_input low partman-md/raid10layout
db_go || return
diff --git a/debian/partman-md.templates b/debian/partman-md.templates
index 738e434..da1e867 100644
--- a/debian/partman-md.templates
+++ b/debian/partman-md.templates
@@ -109,6 +109,7 @@ _Description: Not enough RAID partitions available
Template: partman-md/raid10layout
Type: string
+Default: n2
# :sl3:
_Description: Layout of the RAID10 array:
The layout must be n, o, or f (arrangement of the copies) followed
-- System Information:
Debian Release: 7.8
APT prefers oldstable
APT policy: (900, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: