[prev in list] [next in list] [prev in thread] [next in thread]
List: cobbler
Subject: Overlapping kernel config options?
From: mdehaan () redhat ! com (Michael DeHaan)
Date: 2009-04-20 14:25:31
Message-ID: 49EC85DB.2060408 () redhat ! com
[Download RAW message or body]
James Cammarata wrote:
> On Sat, 18 Apr 2009 23:15:27 -0500, Charles Duffy
> <Charles_Duffy at messageone.com> wrote:
>
>> Howdy, all.
>>
>> I often find myself booting with "console=ttyS0 console=tty0", to send
>> kernel messages to both the first serial port and the first virtual
>> console.
>>
>> As cobbler uses a python dict for kernel options, which thus requires
>> unique keys, this doesn't appear to be possible. Am I missing something
>> here?
>>
>> Thanks!
>>
>
>
> This feature was added a while back, the data is stored in an array inside
> the dictionary. For instance, your example above would be stored as
> {'console': ['ttyS0','tty0']}. Cobbler then detects the array of values
> and creates the correct output. The same is done for kopts-post, ksmeta,
> etc. If I remember right, the only dictionary variable you can't do
> duplicates on are template files (I think whichever is listed last wins,
> rather than an error being thrown).
>
>
Syntax, for the record:
cobbler distro edit --name=foo --kopts="console=foo console=bar"
So it just works as you would suspect.
--Michael
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic