Fix bug SSH interactive mode

Commit b44db20 introduced a bug that broke
the SSH interactive mode. If no command is
provided, Driver.GetSSHCommand is called with
an empty string instead of no parameter.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
Make machine name optional in CLI

For commands inspect, ip, kill and restart.
It is already implemented for the others.

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
Avoid code duplication

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
Merge pull request #101 from ggiamarchi/fix-interactive-ssh

Fix bug SSH interactive mode
Merge pull request #103 from ggiamarchi/machine-name-optional

Make machine name optional in CLI
Handle errors in commands

Some errors were swallowed entirely, some didn't print the error
message.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Restore sorting of ls output

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #97 from bfirsh/cli-regressions

Fix CLI regressions
Allow optional override of os and arch in build

With this change machine will still cross-compile for all supported OSes
/ archs by default, but allows user to customize args to the build
script.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
Merge pull request #106 from nathanleclaire/modify_osarch

Allow optional override of OS and arch in build (speed up compilation)
Add .git to .dockerignore

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
Merge pull request #107 from nathanleclaire/dockerignore

A few additions to .dockerignore
Add dependencies for OpenStack driver

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
Add OpenStack driver

Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
OpenStack: Allow to provide both tenant name and id

When sourcing an OpenStack rc file, both variables OS_TENANT_ID
and OS_TENANT_NAME are defined.

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
OpenStack: Switch some Info log to Debug

Allow to use $(machine url) without having to pipe the
result due to too verbose Info logs.

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
OpenStack: Allow docker client public key

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
OpenStack: Add inputs flavor, image and network by name

Added parameters:
    --openstack-image-name
    --openstack-flavor-name
    --openstack-net-name

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
Wrap openstack.Client in an interface.

Signed-off-by: Ash Wilson <smashwilson@gmail.com>
Alternate openstack Driver creation method.

Signed-off-by: Ash Wilson <ash.wilson@rackspace.com>