Commit Graph

1242 Commits

Author SHA1 Message Date
Evan Hazlett b43a72f91a ssh: allocate pty for sudo over ssh for those that have requiretty
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-26 12:21:33 -04:00
Evan Hazlett 98e38006c0 Merge pull request #1218 from ehazlett/vbox-intel-nic
vbox: use intel driver for nic
2015-05-26 11:04:19 -04:00
Fabio Rapposelli 4c1217aec8 Move `vmwarefusion` to the official boot2docker release.
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-05-26 10:36:02 +02:00
Fabio Rapposelli c4be194d41 Moved `vmwarevsphere` driver to main b2d release tree
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-05-26 10:06:24 +02:00
Jan Broer bbbaa8952e exoscale: fixed 2 mins wait loop on failed operation
Signed-off-by: Jan Broer <janeczku@yahoo.de>
2015-05-23 06:09:01 +02:00
Nathan LeClaire 3385e4ef94 Nitpick struct fields
I find it easier to identify and read if they are labelled

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-22 14:51:24 -07:00
Nathan LeClaire 93b4799279 Disable password authentication in SSH command
This will turn off the password authentication prompt which some SSH
commands experience if there is a lag between when we attempt the first
SSH command and the key has been loaded on the server.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-22 14:02:58 -07:00
Evan Hazlett 19d3bdd389 Merge pull request #1208 from exoscale/fix/exoscale-ssh-keypair
exoscale: destroy the SSH keypair when removing the machine
2015-05-22 09:58:59 -04:00
Evan Hazlett 7f3bfb3e87 Merge pull request #1206 from miketheman/vmwarefusion_1168
Address vmwarefusion driver hang condition
2015-05-22 09:57:17 -04:00
Evan Hazlett b3d77e4495 Merge pull request #1167 from zchee/docs-update-each-driver-options
docs: Update each drivers flag
2015-05-22 09:56:00 -04:00
Evan Hazlett 2efadeaf09 Merge pull request #1201 from ehazlett/remove-provider-type
Remove Provider
2015-05-21 14:45:55 -04:00
Evan Hazlett 5229643a22
ssh: add -t to force tty allocation
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 14:44:55 -04:00
Evan Hazlett 30ace6716e centos: update config path
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:45:51 -04:00
Evan Hazlett 065982b7d2 centos: add provisioner
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:45:51 -04:00
Evan Hazlett cab167c21a fedora: remove configure repo
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:45:51 -04:00
Evan Hazlett 8e9ce9ccdf fedora: provisioner based off of redhat
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:45:49 -04:00
Evan Hazlett 7998852368 fedora: use proper location for config file
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:40 -04:00
Evan Hazlett b4fa9f10a8 fedora: remove configure repo
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:40 -04:00
Evan Hazlett f17556b2fa fedora: provisioner based off of redhat
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:40 -04:00
Evan Hazlett bf7a5f2f53 redhat: remove aws check; update docs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:40 -04:00
Evan Hazlett 380aaa2670 redhat: update before docker install; use simpler config in proper location
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:40 -04:00
Evan Hazlett 0dbfcd5535 redhat: remove configure repo as we use our own rpms now
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:40 -04:00
Evan Hazlett 0920a2de1b redhat: update RPM path
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:39 -04:00
Evan Hazlett ff2c057c96 redhat: use docker RPMs for install
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:39 -04:00
Evan Hazlett c46e7945c5 redhat: install official docker
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:39 -04:00
Evan Hazlett 9e9c0f1751 redhat: update for generic provisioner
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:39 -04:00
Evan Hazlett 18cfe58a00 redhat: updated docs to explain base operating systems
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:39 -04:00
Evan Hazlett da7ac61be7 redhat: add redhat provisioning
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:44:37 -04:00
Evan Hazlett 26432b771f ssh: allocate pty for sudo over ssh for those that have requiretty
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 13:43:51 -04:00
Evan Hazlett f82032b28d remove provider
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-21 10:41:03 -04:00
Evan Hazlett 91c618fd06 Merge pull request #1174 from nathanleclaire/ssh_backends
Move to using SSH shellout by default, and Go native impl as a backup
2015-05-21 10:22:45 -04:00
Vincent Bernat d05a889c96 exoscale: simplify if/err pattern
Compact the if/err forms that can be compacted.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-05-21 14:34:42 +02:00
Vincent Bernat b772e66394 exoscale: destroy the SSH keypair when removing the machine
Otherwise, when recreating a machine with the same name, we would get an
error about this SSH keypair already existing.

To avoid any confusion, let's say that machine will handle all keypairs
and the user cannot provide its own. Therefore, move the keypairs into
their own "namespace" and remove the option to specify a keypair.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-05-21 14:34:42 +02:00
Vincent Bernat b35ad0d322 godep/exoscale: update egoscale
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-05-21 14:34:42 +02:00
Vincent Bernat 1f4502e3e0 docs/exoscale: require port 22 in security group too
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-05-21 11:05:55 +02:00
Mike Fiedler 67a5018999 Get machine state before looking up URL in vmwarefusion
- Add a call to GetState() in GetIP() to bail if the machine is stopped,
  similar to how it is done in the virtualbox driver.
- Add tests for `url` and `env` commands.

Fixes #1168

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2015-05-20 23:40:07 -04:00
Mike Fiedler cd049cb4b9 Convert vmwarefusion bats tests back to `machine`
In #615, the helper function `machine()` was created and used within the
vmwarefusion test suite (amongst others) to wrap a platform-specfic
binary during the test suite.

In #1034, it appears that this name was changed to the normal
docker-machine binary, which can incoke the system-installed one, not
the recently compiled one, potentially testing the incorrect binary.

See:
- https://github.com/docker/machine/pull/615#discussion_r25643553
- https://github.com/docker/machine/pull/1034/files#diff-62c88a2fede921556dbdeead731596b2R14

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2015-05-20 23:40:01 -04:00
Mike Fiedler 0282a7d544 Add tests for url/env commands when stopped w/virtualbox
Refs #1168

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2015-05-20 23:39:52 -04:00
Jan Broer 2476bf2916 bugfix: logger.error was writing to stdout
Signed-off-by: Jan Broer <janeczku@yahoo.de>
2015-05-21 05:09:12 +02:00
zchee 4fa7c47684
Add vmwarefusion and exoscale
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:43 +09:00
zchee c615c2f4dd
Update docs for exoscale
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:39 +09:00
zchee 644a501305
Update docs for VMware vSphere
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:34 +09:00
zchee e6a6762b76
Update docs for VMware vCloud Air
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:30 +09:00
zchee 7abdfab3e0
Update docs for VMware Fusion
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:24 +09:00
zchee 21974c6220
Update docs for Oracle VirtualBox
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:19 +09:00
zchee 8f77336231
Update docs for Rackspace
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:11 +09:00
zchee 42268606e8
Update docs for Openstack
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:07 +09:00
zchee f7a97fe77a
Update docs for Microsoft Hyper-V driver
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:44:03 +09:00
zchee f0e84025cb
Update docs for Microsoft Azure driver
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:43:58 +09:00
zchee 5d47f4617a
Update docs for IBM Softlayer driver
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:43:54 +09:00