Closed rinor closed 9 months ago
based on comments from https://github.com/nanovms/nanos/pull/1974
"t"
"!0"
{ "ManifestPassthrough": { "reboot_on_exit": "t" } }
or
{ "ManifestPassthrough": { "reboot_on_exit": "!0" } }
"*"
{ "ManifestPassthrough": { "reboot_on_exit": "*" } }
"replace_me_with_exit_code"
{ "ManifestPassthrough": { "reboot_on_exit": "0" } }
{ "ManifestPassthrough": { "reboot_on_exit": ["0","1","6"] } }
Note: ops behavior remains unchanged for "RebootOnExit": true or "Debugflags": ["reboot_on_exit"]
ops
"RebootOnExit": true
"Debugflags": ["reboot_on_exit"]
Question: Do we want to add other negating possibilities other than !0, i.e: exit on any code other than!code where code can be any single value? - yes
!0
!code
based on comments from https://github.com/nanovms/nanos/pull/1974
"t"
or"!0"
or
"*"
"replace_me_with_exit_code"
Note:
ops
behavior remains unchanged for"RebootOnExit": true
or"Debugflags": ["reboot_on_exit"]
Question: Do we want to add other negating possibilities other than
!0
, i.e: exit on any code other than!code
where code can be any single value? - yes