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

Re: Is it possible to specify names creating VG and LVs with partman-lvm



On Wed, Jul 23, 2008 at 5:43 AM, BUFFARD Adrien wrote:
>
> I'm currently creating a debian autoinstaller (using preseed file) and I'm
> facing issues creating partitions with partman.
>
> I would like to create a VG called "vg_system" with LV on it called lv_home,
> lv_tmp,lv_usr,lv_var, etc …
> Is it possible to include the creation of those VG and LVs using d-i preseed
> configuration file ?

It is possible to preseed the VG name using
partman-auto-lvm/new_vg_name like this:

d-i partman-auto-lvm/new_vg_name string vg_system

I don't know how to change the default names for the LVs. It may be
possible to rename them by calling lvrename in preseed/late_command.


Reply to: