Unsolved

This post is more than 5 years old

33 Posts

3939

June 2nd, 2016 07:00

remote task: can we put many lines in one single remote task

Hi, I use OME remote command line task (racadm) to perform tasks on nodes. I want to know if i could create a task with two or more lines in it. Say I want to configure 2 DNS servers on idracs, instead of creating one task with line:

racadm config -g cfgLanNetworking -o cfgDNSServer1=1.2.3.4

and then a second task with line:

racadm config -g cfgLanNetworking -o cfgDNSServer2=5.6.7.8

I wanted to know if there is a way (maybe with semi-column or something) to combine both those tasks into 1.

Another case where i would need this is when adding a new admin user using command line (racadm) task, i need to run 4 commands... 1 for creation, 1 for setting password, 1 for privileges and then finaly 1 to enable.... or can this all be combined into one task?

Many thanks in advance,

Naseem

No Responses!
No Events found!

Top