32 lines
823 B
JSON
32 lines
823 B
JSON
{
|
|
"format": 1,
|
|
"seat": "node-login-shell",
|
|
"scope": "node",
|
|
"grain": "seat-list",
|
|
"domain": "Core",
|
|
"decision": "novox/hq ADR 0204",
|
|
"verbs": [
|
|
{
|
|
"name": "execute",
|
|
"description": "Run one command on this machine as the operator account, in a non-interactive login shell in its home; answers with what it printed and how it exited.",
|
|
"optional": true,
|
|
"input": {
|
|
"properties": {
|
|
"command": {
|
|
"description": "the command line, as you would type it",
|
|
"type": "string"
|
|
},
|
|
"timeout_seconds": {
|
|
"description": "give up after this long, at most 25 (default 20)",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"command"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
]
|
|
}
|