Commit Graph

11 Commits

Author SHA1 Message Date
Darren Shepherd 8afe967a80 Fix issue where GetIP failes due to no SSH
The main goal of this patch was to make the VirtualBox driver wait for
SSH before trying to get the IP of the VM.  The generic WaitForSSH
method required a Host struct as an arg.  This patch moves most of the
logic to the driver package so that drivers can call WaitForSSH.  The
existing functions in host are just wrappers to the real
implementation in drivers now.

Signed-off-by: Darren Shepherd <darren@rancher.com>
2015-05-05 09:32:45 -07:00
Evan Hazlett 007d83319d
start on refactor for driver interface
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 10:12:19 -04:00
Jeff Mendoza ee0e29febe Add ident auth to Hyper-V.
Gofmt.
Review comments.

Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2015-02-06 08:47:51 -05:00
Evan Hazlett dcf58cfc2d host tests; refactor util functions to support testing
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-02 15:44:35 -05:00
Evan Hazlett 74f9bcebc7 only create ca and client cert once; create server keys each time; add serverAuth to ext usage
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-23 22:31:53 -05:00
Evan Hazlett b0936b1b53 automatically add host fingerprint to known hosts
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-02 15:40:11 -05:00
Damien DUPORTAL eda8bbd2bd Moving path to filepath dependency
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>

Conflicts:
	drivers/azure/azure.go
	store.go
	store_test.go
2014-12-12 11:09:43 -08:00
Jeff Mendoza 52019047f1 Fix #68. Homedir is now detected same as Docker.
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2014-12-11 16:11:23 -08:00
Jeff Mendoza 50e5b2501a Fix homedir for Windows.
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2014-12-09 15:51:15 -08:00
Ben Firshman dcf081d758 Check that public key exists when creating machine
Fixes #4

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-06 20:54:41 +01:00
Ben Firshman 73d19108bf Initial commit
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-04 15:05:11 +01:00