Jean-Laurent de Morlhon
ade5911b32
Fixes #2372 , add test for #2356
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-20 17:48:53 +01:00
Jean-Laurent de Morlhon
a8d9b498a4
Merge pull request #2365 from daehyeok/remove_paused_virtualbox
...
VirtualBox: Delete machine in 'PAUSED' state
2015-11-20 16:05:37 +01:00
David Gageot
b8c9ad071d
Remove dead code in virtualbox
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 14:27:59 +01:00
Daehyeok Mun
02da868c08
VirtualBox: Delete machine in 'PAUSED' state
...
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2015-11-20 02:30:50 -07:00
Jean-Laurent de Morlhon
acac5f146a
Merge pull request #2197 from jviide/2196-vmwarefusion-no-share
...
Add a --vmwarefusion-no-share flag to disable the mounting of the /Users directory
2015-11-19 12:35:47 +01:00
David Gageot
33c71d6a8f
Merge pull request #2351 from dgageot/improve-google
...
Improve google driver
2015-11-19 12:35:21 +01:00
jviide
9d2ebb630a
Add --vmwarefusion-no-share option
...
Add a vmwarefusion driver flag to disable the mounting of the /Users
directory. Name it --vmwarefusion-no-share to reflect the pre-existing
virtualbox driver option --virtualbox-no-share.
Also add a corresponding environment variable FUSION_NO_SHARE.
The code is basically identical to the virtualbox driver's
implementation.
Signed-off-by: Joachim Viide <jviide@iki.fi>
2015-11-19 13:00:45 +02:00
David Gageot
71f82e86b1
Fix Typo
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:57:36 +01:00
David Gageot
79563b1972
Move VT-X check to PreCreateCheck
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:51:56 +01:00
David Gageot
b586b94b13
Cosmetics
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:51:56 +01:00
David Gageot
620b2ed418
Add missing ENV for import-boot2docker-vm flag
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:51:55 +01:00
David Gageot
df7212df95
Add missing ENV for no-share flag
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:51:55 +01:00
David Gageot
5aa2179807
GetURL() should fail is the machine is stopped
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:32:48 +01:00
David Gageot
01f3a45530
Update default google image
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:32:48 +01:00
David Gageot
d56d0dc495
Remove unused constants
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-19 11:11:07 +01:00
David Gageot
eb42133a06
Merge pull request #2122 from chantra/mount_linux
...
Add shared folder and virtualization check for Linux.
2015-11-18 10:12:56 +01:00
Vladimir Varankin
0735f3f447
fix drivers GetUrl to build propper IPv6 addr
...
Signed-off-by: Vladimir Varankin <nek.narqo+git@gmail.com>
2015-11-13 13:19:15 +03:00
Emmanuel Bretelle
f9b11d7139
[linux] virtualization detection
...
Use ioutil and also check for smd flag
Signed-off-by: Emmanuel Bretelle <chantr4@gmail.com>
2015-11-12 23:57:42 -05:00
Kunal Kushwaha
23b5f8c99f
BugFix: nil retured for string.
...
Build break on windows. introduced with PR #2207
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2015-11-12 16:00:32 +09:00
Olivier Gambier
89d9854943
Another pass at linting
...
Signed-off-by: Olivier Gambier <olivier@docker.com>
2015-11-10 16:58:14 +01:00
David Gageot
fb986b23e0
Merge pull request #2207 from jeanlaurent/1737-virtualbox-installation-path
...
Fix #1737 - Detect non default VirtualBox Installation Path
2015-11-10 10:02:38 +01:00
Jean-Laurent de Morlhon
b6ca1035bd
Fix for #1737 - Better detect non default VirtualBox Installation Path
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-10 09:52:38 +01:00
David Gageot
a5a53bfbdd
Merge pull request #2212 from nathanleclaire/b2d_regression
...
Fix boot2docker import regression
2015-11-07 16:13:11 +01:00
Nathan LeClaire
ad757310fb
Fix boot2docker import regression
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-06 17:10:41 -08:00
Amir Mohammad Saied
a6c44f5d4e
Use rackspace's specialized client
...
`openstack.NewDerivedDriver` sets client to `openstack.GenericClient`
therefore `rackspace.Client` is getting ignored.
`rackspace.Client.Authenticate` has different semantics than
`openstack.GenericClient.Authenticate`, thus almost all operations with
`rackspace` driver fail at the moment.
Signed-off-by: Amir Mohammad Saied <amirsaied@gmail.com>
2015-11-06 18:30:31 +00:00
David Gageot
4ac76457f9
Merge pull request #2199 from nathanleclaire/none_running
...
Change default state of none driver to state.Running
2015-11-06 07:59:49 +01:00
Nathan LeClaire
ac6a18ba25
Change none default state to Running
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-05 18:37:15 -08:00
Olivier Gambier
d2ada6488c
Lint
...
Signed-off-by: Olivier Gambier <olivier@docker.com>
2015-11-05 13:34:07 -08:00
David Gageot
11922080a1
FIX #2171 Fix faulty flag and add tests for SetConfigFromFlags
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-05 18:57:03 +01:00
Nathan LeClaire
6be950f1c0
Merge pull request #2117 from dmp42/08-carry-on-2033
...
Carry on commits from #2033
2015-11-04 16:41:40 -08:00
Olivier Gambier
34ee11e51d
Merge pull request #2116 from dgageot/1628-oauth2
...
Move `goauth2/oauth` dependency to `golang.org/x/oauth2`
2015-11-04 08:54:20 -08:00
David Gageot
840ed7cc15
Migrate Digital Ocean driver to oauth2
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-04 10:20:44 +01:00
root
d1712e0cd3
Introduced a new flag for google driver:
...
--google-use-internal-ip
Signed-off-by: Mariusz Woloszyn <emsi@EmsiOSX.dom.qpqp01.pl>
2015-11-04 09:10:29 +00:00
David Gageot
7f5983b703
Merge pull request #2113 from dgageot/gce-custom-images
...
Fixes #1243 Custom GCE images support
2015-11-04 09:00:20 +01:00
Nathan LeClaire
c6d6eb863a
Merge pull request #2151 from todorez/fix-ip-clash
...
Fix DHCP server and host-only adapter IP address clash
2015-11-03 12:06:26 -08:00
Nathan LeClaire
9a4bc9a20d
Ensure that ls will still work when plugin cannot be found
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-03 11:35:30 -08:00
Todor Minchev
36ca9c6063
Fix DHCP server and host-only adapter IP address clash
...
When setting up a host-only network we need to pass the IP address
of the host adapter (e.g 192.168.99.1) to the getRandomIPinSubnet function.
Passing the network address (e.g 192.168.1.0) can result in bypassing the IP
clash check and having the same address assigned to both the DHCP server
and the host-only network interface.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2015-11-03 11:26:31 -08:00
Olivier Gambier
ae2d344c2b
Carry on commits from #2033
...
A couple of small cleanup and enhancements that were dropped after the revert.
Signed-off-by: Olivier Gambier <olivier@docker.com>
2015-10-30 16:33:26 -07:00
David Gageot
0176f05db8
FIX #2127 Detect that HW virtualization is not supported
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-30 16:19:38 +01:00
Emmanuel Bretelle
42f1dbb964
virtualbox: support linux host
...
Fixes #2110
Signed-off-by: Emmanuel Bretelle <chantr4@gmail.com>
2015-10-29 20:21:10 -07:00
Nathan LeClaire
92d67ff13f
Merge pull request #850 from dudymas/feat/openstack-nova-ip-pools
...
feature to fix #737 - openstack driver can use nova to allocate floating ips
2015-10-29 12:33:43 -07:00
aperepel
914ccb6968
Fixes #1243 Custom GCE images support
...
Signed-off-by: Andrew Grande <aprepel@gmail.com>
Signed-off-by: David Gageot <david@gageot.net>
2015-10-29 11:11:32 +01:00
David Gageot
b213da0961
Use PreCreateCheck to check the project/credentials
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-29 10:05:24 +01:00
Nathan LeClaire
232c611464
Merge pull request #2087 from dgageot/gce-default-auth
...
Use Google default authentication
2015-10-28 15:18:24 -07:00
David Gageot
970c630fd3
FIX #2093 warn in case we think VT-X is not enabled.
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-28 22:22:04 +01:00
David Gageot
77c2bbcdd2
FIX #2023 and #1061 Use google default authentication
...
Signed-off-by: David Gageot <david@gageot.net>
2015-10-28 22:16:22 +01:00
Flavio Castelli
2339e548f6
Fix panic when using openstack driver
...
The openstack driver was unusable because some cli flags were redifined.
That caused a runtime error like:
create flag redefined: openstack-ssh-user
panic: create flag redefined: openstack-ssh-user
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2015-10-28 08:53:54 +01:00
David Gageot
d316eb7e96
Print a better error when virtualbox fails
...
Instead of printing `exit status 1` we'll print
the stderr output
Signed-off-by: David Gageot <david@gageot.net>
2015-10-27 15:23:29 +01:00
David Gageot
6c5dc41e6d
Revert "Remove useless duplication on GetSSHHostname"
...
This reverts commit b6462eb6d0
.
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 18:47:14 +01:00
David Gageot
57dc1156de
Revert "Remove duplication over GetIP"
...
This reverts commit 99aacc7b79
.
Signed-off-by: David Gageot <david@gageot.net>
2015-10-26 18:47:03 +01:00