[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partman-auto?



On Friday 02 December 2005 18:28, Eerin Rosenström wrote:
> # first disk, /dev/discs/disc0/disc
> d-i partman-auto/expert_recipe string disc0 :: 200 512 1024 raid \
>  	$primary{ } $bootable{ } method{ raid1 } device{ md0 }.\
>          128 200% 200% raid $primary{ } method{ raid1 } device { md1
> }.\ 6000 10000 300000 raid $primary{ } method{ raid1 } device { md2 }.
>
> # second disk, maybe missing, people can add later
> d-i partman-auto/expert_recipe string disc1 :: 200 512 1024 raid \
>  	$primary{ } $bootable{ } method{ raid } device{ md0 }.\
>          128 200% 200% raid $primary{ } method{ raid1 } device { md1
> }.\ 6000 10000 300000 raid $primary{ } method{ raid1 } device { md2 }.

This will never work as what you are doing here is preseed two values to 
the same variable.
Preseeding does not support sequential processing! It just gives values to 
a variable at the time the preseed file is read. So, in this example only 
the values for the second disk will be remembered.

I'm afraid you'll have to find another solution before you can start 
hacking scripts.

Cheers,
FJP

Attachment: pgpC7PXtR4bxr.pgp
Description: PGP signature


Reply to: