Hi,
Is there any way to edit run list of server via command line instead of using
GUI and when i execute the command "knife node edit " files open and in
that i have to update and save the file.
Here i want to edit file via command as i have to use this in my automation
script.
Please share your inputs for this query.
Thanks in advance !!!
Regards,
Mittal.A
Yes, via knife. A simple “knife node” spits out all options for that subcommand, among which:
knife node run_list add [NODE] [ENTRY[,ENTRY]] (options)
knife node run_list remove [NODE] [ENTRIES] (options)
knife node run_list set NODE ENTRIES (options)
--Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal
On Thursday, November 28, 2013 at 12:43, mailtoanujmittal@gmail.com wrote:
Hi,
Is there any way to edit run list of server via command line instead of using
GUI and when i execute the command "knife node edit " files open and in
that i have to update and save the file.
Here i want to edit file via command as i have to use this in my automation
script.
Please share your inputs for this query.
Thanks in advance !!!!
Regards,
Mittal.A