jenkinsci/jclouds-plugin — pull request #31 by magnayn (2012-06-07 18:51:22+00:00)
Title: Patch from developing jclouds for smartos-ssh

Some slaves won't authenticate with SSH keys - so if there is no key
present, at least back off to trying username / password instead.

Avoid executing runScript if there is nothing in the initScript. This
script is executed using sudo, so it fails hard on VMs that don't use
have it - so it's important to be able to avoid it.