Jeff Schroeder wrote:
> Somewhere near the top do:
> %include /tmp/partinfo.inc
>
> And in the %pre put
> $SNIPPET('custom_partition_select')
>
> Here is the snippet file to put under /var/lib/cobbler/snippets that
> works with normal, HP (cciss), and xen virtual disks:
>
> === custom_p
Hi Tom,
I do this by defining ksmeta variables... Here's a small snippet:
#set disks = $getVar('$disks', 'sda')
#set count = len($disks.split(','))
#set server_type = $getVar('$server_type', 'none')
#if 'hypervisor' in $server_type.split(',')
part pv.01 --size=25000 --ondisk=${disks.split(','
Gunter Woytowitz wrote:
> Sorry one more reply on this topic :-)
> I did have to manually edit some profile config files under
> /var/lib/cobbler/config to remove extra u's in the repo names. I think
> sometimes the bad values in ram are saved to the files. After I fixed
> the repo names in the fil
On Thu, Apr 9, 2009 at 4:46 AM, Tom Brown wrote:
> I have been looking at the partition_select snippet and wondering how to
> expand/change it so that it meets my needs.
>
> Basically i want as few a different kickstarts as possible and so i want
> logic to do the work for me.
>
> If its a xen gue
I have been looking at the partition_select snippet and wondering how to
expand/change it so that it meets my needs.
Basically i want as few a different kickstarts as possible and so i want
logic to do the work for me.
If its a xen guest then i want the partitions to be one way and if its
anyt