On 11/09/12 15:12, Bai Shen wrote:
This is the snippet I'm attempting to get to work. I am calling it in
place of the autopart command in the sample kickstart.
Did you get this working?
If not yet, the reason will be that 'autopart' is a built-in kickstart
instruction to anaconda and is not
ecisions based on the
>>>>>> existence of the "d" variables. So if "$d3" exists on a certain machine,
>>>>>> add it to the config, otherwise, don't include it's partitioning info
>>>>>> etc.
>>>>>> Q
0, 2012 at 12:04 PM, Pablo Iranzo Gómez <
>>>>>> pablo.ira...@redhat.com> wrote:
>>>>>>
>>>>>>> Why don't you use:
>>>>>>>
>>>>>>> set $(list-harddrives)
>>>>>>> let numd=$#/
t; On Mon, Sep 10, 2012 at 12:04 PM, Pablo Iranzo Gómez
> wrote:
> Why don't you use:
>
> set $(list-harddrives)
> let numd=$#/2 # Number of harddrives
> d1=$1 # Device for first drive
> S1=$2 # size for first drive
>
> and then "--ondisk=$d1" ??
t;
>>>> -C
>>>>
>>>>
>>>> On Tue, Sep 11, 2012 at 5:45 AM, Bai Shen wrote:
>>>>
>>>>> Can you explain that in more detail? I'm not quite sure I follow what
>>>>> it's supposed to do. Do I continue with $3 for the secon
gt;>>>
>>>>> --
>>>>>
>>>>> *De: *"Owen Mann"
>>>>> *Para: *"cobbler mailing list"
>>>>> *Enviados: *Lunes, 10 de Septiembre 2012 18:02:11
>>>>> *Asunto: *Re:
gt;> -C
>>>>
>>>>
>>>> On Tue, Sep 11, 2012 at 5:45 AM, Bai Shen wrote:
>>>>
>>>>> Can you explain that in more detail? I'm not quite sure I follow what
>>>>> it's supposed to do. Do I continue wit
;>> the second drives size?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> On Mon, Sep 10, 2012 at 12:04 PM, Pablo Iranzo Gómez <
>>>> pablo.ira...@redhat.com> wrote:
>>>>
>>>>> Why don't you use:
&
plain that in more detail? I'm not quite sure I follow what
>>>> it's supposed to do. Do I continue with $3 for the second drive and $4 for
>>>> the second drives size?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>
gt;>> On Mon, Sep 10, 2012 at 12:04 PM, Pablo Iranzo Gómez <
>>> pablo.ira...@redhat.com> wrote:
>>>
>>>> Why don't you use:
>>>>
>>>> set $(list-harddrives)
>>>> let numd=$#/2 # Number of harddrives
>>>> d1=$1 # D
This is the snippet I'm attempting to get to work. I am calling it in
place of the autopart command in the sample kickstart.
#set $vgname = "VolGroup00"
set \$(list-harddrives)
let numd=\$#/2
d1=\$1
d2=\$3
d3=\$5
d4=\$7
part /boot --fstype ext3 --size=500 --asprimary --ondisk=\$d1
part swap --s
ives
>>> d1=$1 # Device for first drive
>>> S1=$2 # size for first drive
>>>
>>> and then "--ondisk=$d1" ??
>>>
>>> Regards
>>> Pablo
>>>
>>>
>>> --
>>>
>>> *
f harddrives
>> d1=$1 # Device for first drive
>> S1=$2 # size for first drive
>>
>> and then "--ondisk=$d1" ??
>>
>> Regards
>> Pablo
>>
>>
>> ------
>>
>> *De: *"Owen Mann"
>> *Pa
*De: *"Owen Mann"
> *Para: *"cobbler mailing list"
> *Enviados: *Lunes, 10 de Septiembre 2012 18:02:11
> *Asunto: *Re: [cobbler] Different partitioning requirements
> foridenticalblades
>
>
> Are you sure there /is/ a /dev/sda? If it’s an HP, try
rg [mailto:
> cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Bai Shen
> *Sent:* Monday, September 10, 2012 11:38 AM
> *To:* cobbler mailing list
> *Subject:* Re: [cobbler] Different partitioning requirements for
> identical blades
>
> ** **
>
> How do you conf
ling list"
> Enviados: Lunes, 10 de Septiembre 2012 18:02:11
> Asunto: Re: [cobbler] Different partitioning requirements for
> identical blades
> Are you sure there /is/ a /dev/sda? If it’s an HP, try "cciss/c0d0".
> Owen Mann, Interactive Data Real Time Servic
bbler] Different partitioning requirements for identical blades
How do you configure multiple disks when not using raid? I'm trying to specify
--ondisk=sda and cobbler keeps giving me an error saying bad keyword '/dev/sda'
Any suggestions?
On Thu, Sep 6, 2012 at 1:15 PM, James
How do you configure multiple disks when not using raid? I'm trying to
specify --ondisk=sda and cobbler keeps giving me an error saying bad
keyword '/dev/sda'
Any suggestions?
On Thu, Sep 6, 2012 at 1:15 PM, James Clendenan
wrote:
> Personally I would just use a tag and in the partitioning sec
I tried doing it with the if statement but it kept erroring out for some
reason. I ended up getting it to work using the advance snippet setup
using per_system.
https://github.com/cobbler/cobbler/wiki/Kickstart%20snippets
On Thu, Sep 6, 2012 at 2:06 PM, James Cammarata wrote:
> On Thu, Sep 6,
On Thu, Sep 6, 2012 at 12:15 PM, James Clendenan
wrote:
> Personally I would just use a tag and in the partitioning section test if
> that tag is set or not. It gets a bit more interesting when you start merging
> roles so keeping each of the tags as atomic as possible is useful. But I have
> h
Personally I would just use a tag and in the partitioning section test if that
tag is set or not. It gets a bit more interesting when you start merging roles
so keeping each of the tags as atomic as possible is useful. But I have had to
do this when doing bake offs with different raid configurat
I have a blade server that I'm building using cobbler to be a hadoop
cluster. Since the data nodes like seeing the individual drives, I'm going
to partition those differently than the other nodes.
Is there a recommended method to handling the parititions? Everything else
about the kickstart will
22 matches
Mail list logo