delete lvm groups in kickstart
Farkas Levente
lfarkas at bppiac.hu
Wed Jan 16 14:30:20 UTC 2008
imho it's still better:
%pre
lvm lvremove VolGroup00
but it'd be a kickstart option...
Pablo Iranzo Gómez wrote:
> I faced a similar problem, so what I do is to dd hardrive ;)
>
> It empties it so I can recreate pv,vg and lv's on it ;)
>
> Regards
> Pablo
>
> El mié, 16-01-2008 a las 14:28 +0100, Farkas Levente escribió:
>> hi,
>> in kickstart one can use clearpart to remove old partition, but there is
>> no command to remove old lvm volgroup or logvols. and if there are
>> volgroup or logvols already on the system where you want to install
>> through kickstart the install process failed with a python stack trace
>> since eg. VolGroup00 already exist and can't be created.
>> currently there is no other way to delete only in %pre scripts but imho
>> it'd be an essential feature.
>> yours.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
--
Levente "Si vis pacem para bellum!"
More information about the Kickstart-list
mailing list