David Gageot
1c6ceed28e
Fix Restart() for some drivers
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 10:32:57 +01:00
David Gageot
df30a135b2
Merge pull request #2644 from dgageot/nathanleclaire-xtra_vbox_logs
...
Add extra logging to VirtualBox driver
2015-12-21 09:46:31 +01:00
David Gageot
c584b8e641
Merge pull request #2625 from dgageot/2624-reject-duplicate-hostonlyifs
...
FIX #2624 reject duplicate hostonlyifs name/IP
2015-12-21 09:29:25 +01:00
Nathan LeClaire
54bda622d3
Add extra logging to VirtualBox driver
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-12-21 09:20:53 +01:00
David Gageot
352d28220c
Merge pull request #2620 from dgageot/2619-hardware-virtualization-test
...
Don't create the VM if no hardware virtualization
2015-12-21 09:18:49 +01:00
David Gageot
3c4fd63f93
FIX #2624 reject duplicate hostonlyifs name/IP
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 09:15:01 +01:00
Nathan LeClaire
204af9fe5e
Merge pull request #2618 from dgageot/2189-update-b2d-cache-in-precreatecheck
...
Update b2d cache in PreCreateCheck
2015-12-18 16:51:56 -08:00
David Gageot
dd379d33c8
FIX #2617 Check hostonlyif after its creation
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 17:44:52 +01:00
David Gageot
ac45f88ce3
Don't create the VM if no hardware virtualization
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 12:27:04 +01:00
David Gageot
a7bd9e06d2
Update B2D cache in PreCreateCheck phase
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 11:14:59 +01:00
David Gageot
42ad416c0a
FIX #2479 Warn on VirtualBox version
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-10 16:10:52 +01:00
David Gageot
52128128fd
Detect Yet Another Virtualization issue
...
Signed-off-by: David Gageot <david@gageot.net>
2015-12-08 17:43:39 +01:00
Lars Kanis
850e2646a6
Fix detection of virtualisation support on AMD CPU.
...
This also changes the amd test case to /proc/cpuinfo content of
a real AMD CPU.
Signed-off-by: Lars Kanis <lars@greiz-reinsdorf.de>
2015-12-07 07:39:24 +01:00
Joe Friedl
b2c9366245
Add the --virtualbox-host-dns-resolver flag
...
Signed-off-by: Joe Friedl <joe@joefriedl.net>
2015-12-01 21:03:51 -05:00
Jean-Laurent de Morlhon
b7b767aafe
Allow virtualbox DNSProxy override
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-01 16:02:20 +01:00
David Gageot
515bdad0f6
Remove redundant log
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-27 09:33:21 +01:00
Jean-Laurent de Morlhon
b7745d7bc4
Add Test on VTX Detection
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-24 17:40:22 +01:00
Jean-Laurent de Morlhon
84a40bcc06
Refactor OS Specific code
...
And introduce Per-OS testing
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-24 16:03:41 +01:00
David Gageot
84199a12e3
Improve test coverage
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-24 11:29:39 +01:00
Nathan LeClaire
863e51709a
Merge pull request #2369 from dgageot/detect-multiple-host-only
...
Detect multiple host only
2015-11-20 15:23:38 -08:00
David Gageot
8d47fe746e
Reject VirtualBox version<=3
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 18:57:26 +01:00
David Gageot
bf52eceed5
FIX #2231 - Detect duplicate interfaces
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 18:47:39 +01:00
David Gageot
35b2b042e1
Merge pull request #2374 from dgageot/more-vb-tests
...
Add more tests to the VirtualBox driver
2015-11-20 18:47:20 +01:00
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
308f9d025c
Add more tests to virtualbox driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +01:00
David Gageot
bbe59b8020
Don't rely on empty lines
...
It could lead to creating multiple host only
interfaces
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +01:00
David Gageot
e812df723c
Add somes tests to virtualbox driver
...
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +01:00
David Gageot
53c5198a5a
Use the passed VBoxManager
...
This makes the code easier to test.
Signed-off-by: David Gageot <david@gageot.net>
2015-11-20 15:01:55 +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
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
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
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
Nathan LeClaire
ad757310fb
Fix boot2docker import regression
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-06 17:10:41 -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
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
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
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
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
Fabian Ruff
5021ffd2e7
support github enterprise urls for b2d downloads
...
This commit allows downloading boot2docker releases not only from the official releases url (https://api.github.com/repos/boot2docker/boot2docker/releases ) but from arbitrary github repositories that publish releases with a boot2docker.iso artifact. It also supports downloading from github enterprise.
Signed-off-by: Fabian Ruff <fabian@progra.de>
2015-10-22 16:12:21 +02:00