Never mind, I found it. Gotta put a -- in there in just the right place. 
This works:

spacecmd {SSM:0}> kickstart_addoption oel-5-64 auth -- --enablenis ...
spacecmd {SSM:0}> 

--
Bill Gunter, RHCSA  | Unix Administrator | National Instruments Ireland | 
[email protected]  | Ph:+353 1 247 5935



From:   "Bill Gunter" <[email protected]>
To:     [email protected], 
Date:   19/08/2014 14:18
Subject:        [Spacewalk-list] spacecmd kickstart_addoption not working 
in 2.1  and 2.2
Sent by:        [email protected]



Hello, 

Trying to use "spacecmd kickstart_addoption ..." to change an advanced 
option in a profile and it's giving me an error. For example

spacecmd {SSM:0}> kickstart_addoption oel-5-64 auth "--enablenis ..."
ERROR: no such option: --enablenis
spacecmd {SSM:0}> 

This happens for any valid option for any key. It doesn't like the initial 
-- in front of the value, which is required by the kickstart syntax. 
Should I be escaping in some way?

Thanks, 

Bill

--
Bill Gunter, RHCSA  | Unix Administrator | National Instruments Ireland | 
[email protected]  | Ph:+353 1 247 5935
National Instruments Ireland Resources Ltd.
Unit 302 | Omni Business Park | Swords Road | Santry | Dublin 9
Registered Office: 39/40 Upper Mount Street, Dublin 1
Company Registered No.377471
Tel: +353 1 2475900_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list


National Instruments Ireland Resources Ltd.
Unit 302 | Omni Business Park | Swords Road | Santry | Dublin 9
Registered Office: 39/40 Upper Mount Street, Dublin 1
Company Registered No.377471
Tel: +353 1 2475900
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to