program
The repeatable “program” section of a VCFG defines what programs will be executed by the VM. At least one program section must be defined.
Summary
| REPEATABLE SECTION | program |
| PATH | program |
| PARENT | VCFG |
| FIELDS | binary |
| args | |
| env | |
| stdout | |
| stderr | |
| bootstrap | |
| cwd | |
| strace | |
| privilege | |
| terminate |
Example
[[program]]
binary = "/usr/bin/path"
args = "-jar myapp.jar"
env = ["HOME=/", "USER=root"]
stdout = "/dev/vtty"
stderr = "/dev/vtty"
bootstrap = ["SLEEP 3000"]
cwd = "/"
strace = true
root = true
terminate = "SIGTERM"
CLI Flags
As a repeatable section, CLI flags to fields contained within this section must be referenced with an index defining which program the flag applies to. All flags have the form --program[N].field, where N is a number identifying which program.