Red Hat Kickstart: How do I Prevent partitioning?

Posted by frio on Server Fault See other posts from Server Fault or by frio
Published on 2009-06-25T04:17:21Z Indexed on 2011/01/17 16:55 UTC
Read the original article Hit count: 174

Filed under:
|
|
|

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!

© Server Fault or respective owner

Related posts about centos

Related posts about xen