add script url and path support
This commit is contained in:
parent
70a7368f7a
commit
8939803733
@ -156,7 +156,12 @@ The script step will execute a script.
|
|||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"type": "script",
|
"type": "script",
|
||||||
|
// use path for local scripts
|
||||||
"path": "/global/install-docker.sh" // local path (here: resources/scripts/install-docker.sh)
|
"path": "/global/install-docker.sh" // local path (here: resources/scripts/install-docker.sh)
|
||||||
|
// or use url for remote scripts
|
||||||
|
"url": "https://xyz.abc/scripts/install-docker.sh" // remote url
|
||||||
|
// or use lxc_path for scripts inside the lxc
|
||||||
|
"lxc_path": "/root/install-docker.sh" // lxc path
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user