Part of libcloud.compute.deployment View Source View In Hierarchy
Known subclasses: libcloud.compute.deployment.ScriptFileDeployment
Runs an arbitrary Shell Script task.
Method | __init__ | @type script: C{str} @keyword script: Contents of the script to run |
Method | run | Uploads the shell script and then executes it. |
Inherited from Deployment:
Method | _get_string_value | Undocumented |
@type script: C{str} @keyword script: Contents of the script to run @type name: C{str} @keyword name: Name of the script to upload it as, if not specified, a random name will be choosen. @type delete: C{bool} @keyword delete: Whether to delete the script on completion.
Uploads the shell script and then executes it. See also L{Deployment.run}