Script Data Type

This class represents a simple script that can run on a provisioned VM.

Properties
name data type description
id string
name string The name of the script
contents string The contents of the script
Properties inherited from OwnedObject
owner string

Example

{
  "id" : "...",
  "name" : "config.sh",
  "contents" : "    #!/bin/bash\necho \"Reading system-wide config....\" >&2\\n. /etc/cool.cfg\nif [ -r ~/.coolrc ]; then\n  echo \"Reading user config....\" >&2\\n  . ~/.coolrc\\nfi",
  "owner" : "..."
}