Worked perfectly! That's not a big deal at all. Just needed to know... a help entry?
Aaron Prayther -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aron Parsons Sent: Monday, October 18, 2010 2:08 PM To: [email protected] Subject: Re: [Spacewalk-list] spacecmd kickstart_import -n ... spacecmd: error: no such option: -n Give a -- before the function name. spacecmd is trying to interpret the parameters globally instead of just for that function. I have a fix in mind so you don't need to add the double-dash, I just haven't had time to implement it yet. example: spacecmd -- kickstart_import -n ks-server-x86_64-ver-1 /aron ----- Original Message ----- From: "Aaron Prayther" <[email protected]> To: [email protected] Sent: Monday, October 18, 2010 1:42:48 PM GMT -05:00 US/Canada Eastern Subject: [Spacewalk-list] spacecmd kickstart_import -n ... spacecmd: error: no such option: -n I can make this command work interactively answering all the questions but when I try to give it parameter to automate it. it "junks" on the options. They all get errors, not just "-n". I did upgrade to the latest spacecmd.noarch 0:0.7.5-1.el5 [sysu...@nces-sat-01 ~]$ spacecmd kickstart_import -n ks-server-x86_64-ver-1 usage: spacecmd [options] [command] spacecmd: error: no such option: -n [sysu...@nces-sat-01 ~]$ spacecmd help kickstart_import kickstart_import: Import a Kickstart profile from a file usage: kickstart_import PROFILE [options] options: -f FILE -n NAME -d DISTRIBUTION -p ROOT_PASSWORD -v VIRT_TYPE ['none', 'para_host', 'qemu', 'xenfv', 'xenpv'] Aaron Prayther _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
