Commit Graph

635 Commits

Author SHA1 Message Date
David Gageot ee8c9abed2 Merge pull request #2654 from dgageot/2140_driver_restart
Change host restart to use the driver implementation
2015-12-22 14:32:49 +01:00
Jean-Laurent de Morlhon e22f1db4bf Merge pull request #2657 from dgageot/improve-generic-driver
Improve generic driver
2015-12-22 14:13:22 +01:00
Jean-Laurent de Morlhon 643df3c0a7 Merge pull request #2589 from boyvinall/mv/filter-openstack-floating
Filter openstack floating IPs by tenant ID
2015-12-22 14:12:21 +01:00
David Gageot cdfa729f36 Simplify code
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 12:04:46 +01:00
David Gageot 181a1d47b4 The generic driver shouldn't support kill since stop is not supported
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:46:59 +01:00
David Gageot 4bfd8ab4c1 Remove dead code in generic driver
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:46:14 +01:00
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 6f8a6dd272 FIX #2641 Digital Ocean Custom SSH port
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 16:16:33 +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
Matt Vinall 0815379c26 Filter openstack floating IPs by tenant ID
Merge j2sol:filter-openstack-floating and fix up for comments in PR #1809.

Signed-off-by: Matt Vinall <matt.vinall@imgtec.com>
2015-12-15 22:30:49 +00:00
David Gageot b995a4d65a FIX #2561 SSH pubkey should have username comment
Signed-off-by: David Gageot <david@gageot.net>
2015-12-15 11:12:53 +01:00
Nathan LeClaire d29a42ebc6 Merge pull request #1299 from hairyhenderson/ssh-agent-support-1291
Allowing generic driver to use ssh-agent to get identities
2015-12-11 17:31:55 -08:00
David Gageot f3775f774c FIX #2553 Fusion Driver is supported only on darwin
Signed-off-by: David Gageot <david@gageot.net>
2015-12-11 15:46:47 +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
Jean-Laurent de Morlhon cc6dc7c1be Merge pull request #2545 from dgageot/1432-google-update-firewall
Google driver - Update firewall open ports
2015-12-10 14:31:08 +01:00
David Gageot 82edc1d174 FIX #1432 open all the ports need for google driver
Signed-off-by: David Gageot <david@gageot.net>
2015-12-10 14:20:46 +01:00
David Gageot 58b4cce392 Remove dead code and other cosmetic changes
Signed-off-by: David Gageot <david@gageot.net>
2015-12-10 14:20:46 +01:00
David Gageot 8a64fd4716 Merge pull request #2528 from jhoos/vmwarefusion-umask
Explicitly set umask before invoking vmrun in vmwarefusion
2015-12-10 09:24:09 +01:00
Dave Henderson cf6136fed0 Allowing generic driver to use ssh-agent to get identities
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2015-12-09 09:36:08 -05:00
Jason Hoos d5ff6b21ea Explicitly set umask before invoking vmrun in vmwarefusion
For some reason, invoking vmrun with the nogui option doesn't
work right if umask is set to not allow world-readable permissions
by default.  This seems to be true at least in VMware Fusion 7.0.x
through 8.0.1.  As a workaround, the driver now explicitly sets
the umask to 022 before invoking vmrun.

Signed-off-by: Jason Hoos <jhoos@maestrohealth.com>
2015-12-08 11:45:38 -06: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
Jean-Laurent de Morlhon 1079735af8 Remove withFields
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-07 10:34:43 +01:00
Jean-Laurent de Morlhon 760e814d43 Merge pull request #2501 from fsoppelsa/2478-sanitizekey
Sanitize keynames by replacing dots with underscores
2015-12-07 09:41:34 +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
Fabrizio 6e43436a3d Sanitize keynames by replacing dots with underscores
Signed-off-by: Fabrizio Soppelsa <fsoppelsa@mirantis.com>
2015-12-05 16:04:35 -08:00
Nathan LeClaire dac327f167 Merge pull request #2488 from trecloux/2361-ubuntu-15.10-base-images
Update default images to ubuntu 15.10
2015-12-04 13:51:59 -08:00
Thomas Recloux bd12140d6b Google : update default image to ubuntu 15.10
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux 697b543789 Rackspace : update default image to ubuntu 15.10
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux ca7ea324c4 Exoscale : update default image to ubuntu 15.10
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux 73ddbe02ac DigitalOcean : update default image to ubuntu 15.10
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:14 +01:00
Thomas Recloux 977fa7e48f Azure : update default image to ubuntu 15.10
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 19:14:08 +01:00
Thomas Recloux 0408378332 AWS : update default images to ubuntu 15.10
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com>
2015-12-03 14:50:21 +01:00
Fabio Rapposelli 2dcfcf2b06
Fix for vSphere driver boot2docker ISO issues
Fixes #2279 #2060

Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-12-03 07:24:26 -05:00
David Gageot 029b39ee62 Merge pull request #2141 from janeczku/digitalocean-userdata
Digitalocean driver: Support for creating Droplets with Cloud-init User Data
2015-12-03 10:53:06 +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
Jan Broer 59d7c3ca61 Enhances Digitalocean driver to support creating Droplets with user-data
Signed-off-by: Jan Broer <janeczku@yahoo.de>
2015-12-01 21:22:26 +01: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
Fabio Rapposelli 40aab51e6a
Add id/gid option to mount when using vmhgfs
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-12-01 05:47:37 +01:00
David Gageot f00b0b83cf Merge pull request #2458 from jeanlaurent/typo
Typo in EC2 Driver
2015-11-30 17:37:30 +01:00
Jean-Laurent de Morlhon 6d5bc99387 Typo
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-30 17:23:11 +01:00
David Gageot ec76843e03 Cosmetics
Signed-off-by: David Gageot <david@gageot.net>
2015-11-30 14:24:58 +01:00
David Gageot fea0dcb3da Simpler error message
Signed-off-by: David Gageot <david@gageot.net>
2015-11-30 14:24:58 +01:00