add script url and path support

This commit is contained in:
Mathieu Broillet 2023-06-12 11:10:22 +02:00
parent 70a7368f7a
commit 8939803733
No known key found for this signature in database
GPG Key ID: 7D4F25BC50A0AA32

View File

@ -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
} }
] ]
``` ```