Red Hat Kickstart: How do I Prevent partitioning?
- by frio
Hey all,
I'm currently working on a new virtualisation setup using Xen, and Centos for my workplace. We intend to deploy the domUs into LVM volumes. Currently, the only thing preventing this from working as smoothly as we'd like is the Kickstart script's insistence on partitioning. This is the relevant part from our current KS template (which I've been messing with):
# Partitioning
clearpart --all --initlabel --drives=xvda
part / --size=0 --grow --ondisk=xvda --fstype=ext3
This sets up a single partition and installs to it - which would be fine, but I'd prefer if there were no partitions, and installed directly to the existing LVM (so that we could then mount the LVM from the dom0 for backup and maintenance purposes).
It's possible I'm doing something wrong, and should be exporting the volume as xvda1 rather than xvda - which I'm more than happy to amend - but I'm still not sure how I'd navigate the Kickstart!
I'd really appreciate any help :). Cheers in advance!