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
Guillaume Giamarchi
fb1362ea05
Remove dead code
...
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2015-03-27 19:25:11 +01:00
Ke Zhu
f92f57cd4d
keep global b2d iso cache when using custom b2d iso
...
Signed-off-by: Ke Zhu <kzhu@us.ibm.com>
2015-03-24 15:21:15 -07:00
Evan Hazlett
bde6ad3fac
fixed b2d url bug with fusion / vsphere
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-24 15:21:15 -07: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
72f05505fa
vmwarevsphere: update with new driver interface
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-10 00:41:02 -04:00
Fabio Rapposelli
28fff16745
Driver rework to use upcoming boot2docker/boot2docker#747 patch:
...
- Aligned VMX template to Fusion (vmxnet3, pvscsi)
- Bundle ssh keys in a tar and upload it through vmtools
- Power operations moved to graceful shutdown and restart
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-03-01 17:46:30 +01:00
Evan Hazlett
7a101ac92c
refactor directories to machines, certs, cache
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-25 12:32:41 -05:00
Simon Thulbourn
52782250d3
Move images dir to stop polluting the docker path
...
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-02-24 14:11:18 +00: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
Fabio Rapposelli
13b60b19f7
Updated custom ISOs for B2D w/ vmtoolsd and format-blank-drive patches.
...
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-02-18 11:26:11 +01:00
Evan Hazlett
1198cb539a
use custom vmware b2d iso for fusion and vsphere
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-08 15:36:39 -05:00
Jeff Mendoza
d47000ea3b
Update Boot2docker download, and consolitate util functions.
...
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2015-02-06 08:48:36 -05:00
Evan Hazlett
2a6c39f4ec
set hostname after ssh is active
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-04 10:11:25 -05:00
Evan Hazlett
da64d92a74
tests for utils/b2d.go
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-02 15:46:24 -05:00
Evan Hazlett
d1ee81453c
add timeout for b2d release check; warn instead of error if cannot check
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-29 09:15:15 -05:00
Evan Hazlett
d5a4f2f1c4
Merge pull request #402 from ehazlett/single-tls
...
Update to TLS Certificates
2015-01-26 18:06:43 -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
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
090e3328c8
refactor b2d retrieval for fusion/vbox
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:25 -05:00
Evan Hazlett
e2f579d376
TLS for vsphere
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:25 -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
Yang Yang
1bad10773c
Added vSphere machine driver
...
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 11:00:39 +01:00