Class GuestPoliciesRecipeUpdateStepScriptRun


  • public final class GuestPoliciesRecipeUpdateStepScriptRun
    extends java.lang.Object
    • Method Detail

      • allowedExitCodes

        public java.util.List<java.lang.Integer> allowedExitCodes()
        Returns:
        Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0]
      • interpreter

        public java.util.Optional<java.lang.String> interpreter()
        Returns:
        The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with shebang lines. Possible values are: `SHELL`, `POWERSHELL`.
      • script

        public java.lang.String script()
        Returns:
        The shell script to be executed.