-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
-
1.3
I'd like to be able to do:
Launch command:
start-agent $NODE_NAME
I know there are fancier ways to deal w/ launching nodes, but for now, it would be nice to be able to use the "copy node" and just give it another node whose template includes Launch method which can access a variable that corresponds to the node's name so that I don't have to do anything other than "OK".
My first draft doesn't actually support that notation, instead:
Launch command:
script-to-start-agent-using-node-name-env-var
Where that script does:
exec start-agent $NODE_NAME
There appear to be some things which interfere with $ and _ in the Launch command field. But, I think that exposing the variable is a good step forward.