Vincent Bernat
44be16c49f
drivers: don't let the driver wait for SSH/Docker
...
Waiting for SSH to start or Docker to be available is a step done
directly in the framework (in libmachine). There is no need for the
driver to do that.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-04-21 07:11:41 +02:00
Vincent Bernat
91d12d06ec
drivers: remove unneeded `GetDockerConfigDir()` and `dockerConfigDir` const
...
This method is not part of the driver interface anymore.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-04-10 17:03:11 +02:00
Evan Hazlett
bc6b66c122
drivers: specify defaults if values are missing; i.e. config updates
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-11 22:59:28 -04:00
Evan Hazlett
58de06d0a1
merge master
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-10 17:59:22 -04:00
Evan Hazlett
52a3019d00
azure: updated to driver interface; refactored common GetSSHCommandFromDriver for those that need it
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 22:53:21 -04:00
Ahmet Alp Balkan
e78269c287
drivers/azure: idiomatic syntax fixes
...
This change includes some shorthand syntax refactoring and dead code removal.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-03-06 23:38:57 -08:00
Evan Hazlett
a4e634e2dc
fixes regression causing intermittent TLS errors in azure
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-25 21:02:09 -05:00
Evan Hazlett
54f36078f4
do not show debug for docker install by default; refactor install out of drivers
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-23 17:14:32 -05:00
Evan Hazlett
3a3ef6f45e
add discovery to machine config; show swarm membership
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:21 -08:00
Evan Hazlett
a949e12b6e
store swarm config in driver; vendor Godeps; generate swarm token
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:21 -08:00
Evan Hazlett
b996cb7e9e
azure: use IP when calling GetIP for proper certs
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-20 13:07:21 -08:00
Jamie Furness
d1ccb16a5c
Need to sudo to install the package as well as perform update.
...
Signed-off-by: Jamie Furness <jamie@jamierf.co.uk>
2015-02-11 15:35:38 +00:00
Evan Hazlett
ac1d69a5fd
updated readme with azure note in DNS; re-name from suggestion by ahmetalpbalkan
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-29 13:23:27 -05:00
Evan Hazlett
daa8238a41
use hostname for azure instead of generating
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-29 12:50:47 -05:00
Evan Hazlett
f4342ed4ce
fix issue with name and dns length in azure
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-28 12:47:01 -05:00
Evan Hazlett
b731c0ea28
remove name option from azure driver
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-28 10:45:32 -05:00
Evan Hazlett
57810b298d
This adds a method to the Driver: PreCreateCheck. This can be used
...
where you want to run some prerequisite checks before attempting to
create
the machine. In the case of EC2, this is a check for an existing
keypair. This can be used in the other drivers in the future as well.
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-26 11:27:12 -05:00
Evan Hazlett
75f79ed25e
use ubuntu 14.04 for remaining drivers
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-23 17:08:29 -05:00
Evan Hazlett
3212d0c509
tls for openstack/rackspace
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:25 -05:00
Evan Hazlett
946db8a08d
standard tls for azure; fixed connection issue with azure
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:24 -05:00
Evan Hazlett
4a47ce01fe
updated google driver; added StartDocker and StopDocker to driver
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:24 -05:00
Simon Thulbourn
861b16dba9
add machine name to VM name and hostname
...
This work sets the machine name in the Cloud API or Hypervisor. As well
as setting the hostname inside the VM.
I've added the machine name to the NewDriver func to allow for
identification by Cloud APIs and for the driver package.
Each driver will attempt to set the hostname for the VM, except for
Azure, which sets it based on the DNS name.
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-12 16:46:00 +00:00
Ben Firshman
91bec81903
Merge pull request #189 from ehazlett/docker-1.4.1
...
use 1.4.1 identity build
2014-12-31 15:48:51 +00:00
Evan Hazlett
41644ceaac
use 1.4.1 identity build
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-31 01:09:21 -05:00
Evan Hazlett
103484c4a8
use ubuntu 14.04 in azure; fix port errors and endpoint issues
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-23 00:20:37 -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
Simon Thulbourn
64c73597e2
adds codegangsta/cli
...
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:11:17 +00:00
Ruslan Gabitov
a644aba70f
Added comment to Azure driver
...
Added comment explaining retries in hackForIdentityAuth() method
Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-09 18:48:03 -08:00
Ruslan Gabitov
04382b4730
Fix Azure driver with gofmt
...
Fix Azure driver with gofmt
Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-09 15:20:17 -08:00
Ruslan Gabitov
3df09689e6
Added support for identity auth in Azure driver
...
Added support for identity auth in Azure driver
Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-09 14:08:09 -08:00
Ruslan Gabitov
489e2acaec
Fixed Remove() method in Azure driver
...
Fixed Remove() method in Azure driver
Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-08 13:24:45 -08:00
Ben Firshman
73d19108bf
Initial commit
...
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-04 15:05:11 +01:00