Fabio Rapposelli
25583edbb3
Update VMware Fusion and vSphere driver to run boot2docker 1.6.0
...
- Update custom ISO to docker 1.6.0.
- Shared folder support for VMware Fusion.
- Updated bats test for Fusion.
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-04-20 10:34:13 -07: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
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
9e27af64e3
vmwarefusion: update with new driver interface
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-10 00:27:11 -04:00
Evan Hazlett
26d09cf300
add hyperv and softlayer tests
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 12:32:00 -05:00
Fabio Rapposelli
9410b5b208
Add automatic assignments of vCPUs based on host CPUs.
...
Fixes #535
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:09 +01:00
Fabio Rapposelli
193e2b1613
Major rework, changes include:
...
- Use new iso from boot2docker/boot2docker#747
- Make ssh keys persistent across reboots
- Create a tar bundle of ssh keys just like Virtualbox
- Seed ssh keys using VMware Tools
- Added informative messages on stop/start/restart/remove
- Stop command is now gracefully shutting down the VM
- Fixed StopDocker() script
- Added a "not supported" message to upgrade operation
Fixes #507 #542 #430 #532
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:09 +01:00
Fabio Rapposelli
3442f8e063
Moved VMX options around, major changes:
...
- Moved to a paravirtualized driver for disk (pvscsi)
- Moved to an enhanced paravirtualized nic (vmxnet3)
- Moved CDROM to SATA
- Reverted default power operations to "soft"
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-02-27 17:40:08 +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
b8ab9300e1
Merge pull request #453 from nathanleclaire/coverage
...
Add structure to generate code coverage representation
2015-02-16 14:19:01 -08: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
Evan Hazlett
a3cfab1675
only show fusion on darwin
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-06 08:57:57 -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
Nathan LeClaire
d1fdc87f54
Add structure to generate code coverage representation
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-02-02 13:41:42 -08: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
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
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
f5ba0dc1d7
save IP to vmwarefusion config; google driver cleanup
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-18 03:29:44 -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
3212d0c509
tls for openstack/rackspace
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:25 -05:00
Evan Hazlett
fbce999d22
updated godeps; fixed cert issue date bug
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:25 -05:00
Evan Hazlett
9664d68889
rebase and updated fusion to work with standard docker b2d 1.4.1
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:24 -05:00
Evan Hazlett
fc2e5f278b
configure opts for b2d
...
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
Zee Yang
1e363a352a
Added VMware Fusion machine driver
...
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 10:59:58 +01:00