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

Preseeding multiple volume groups



Hi,

 

I am trying to build two volume groups using Cobbler but failed.

I can only see one volume group created.

I also tried

d-i partman-auto-lvm/new_vg_name string lxc exportvg

and

d-i partman-auto-lvm/new_vg_name multiselect lxc,  exportvg

but failed as well.

What might be the issues?

 

Regards,

 

Kevin SZ

 

d-i partman-auto/choose_recipe select custompartitioning

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

#d-i partman-auto-lvm/new_vg_name multiselect lxc exportvg

d-i partman-auto/expert_recipe string \

      custompartitioning :: \

              512 1 512 ext2                                  \

                      $primary{ }                             \

                      $bootable{ }                            \

                      method{ format } format{ }              \

                      use_filesystem{ } filesystem{ ext2 }    \

                      label{ boot }                           \

                      mountpoint{ /boot }                     \

              .                                               \

              155648 1 155648 ext4                            \

                      $primary{ }                             \

                      method{ lvm }                           \

                      device{ /dev/sda2 }                     \

                      vg_name{ lxc }                          \

              .                                               \

              2048 1 2048 linux-swap                          \

                      $lvmok{ } in_vg{ lxc }                  \

                      lv_name{ swap00 }                       \

                      method{ swap } format{ }                \

              .                                               \

              153600 1 153600 ext4                            \

                      $lvmok{ } in_vg{ lxc }                  \

                      lv_name{ root00 }                       \

                      method{ format } format{ }              \

                      use_filesystem{ } filesystem{ ext4 }    \

                      label{ root }                           \

                      mountpoint{ / }                         \

              .                                               \

              102400 1 102400 ext4                            \

                      $primary{ }                             \

                      method{ lvm }                           \

                      device{ /dev/sda3 }                     \

                      vg_name{ exportvg }                     \

              .                                               \

              102400 1 102400 ext4                            \

                      $lvmok{ } in_vg{ exportvg }             \

                      lv_name{ app00 }                        \

                      method{ format } format{ }              \

                      use_filesystem{ } filesystem{ ext4 }    \

                      label{ app }                            \

                      mountpoint{ /app }                      \

              .                                               \


Reply to: