Commit Graph

1328 Commits

Author SHA1 Message Date
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
zchee 4c97a4ea87
Update docs for Google Compute Engine driver
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:43:50 +09:00
Koichi Shiraishi c35135f399
Update docs for Generic driver
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:43:46 +09:00
Koichi Shiraishi bb6cb6aed0
Update docs for Digital Ocean driver
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:43:41 +09:00
zchee 2e66cca535
Update docs for Amazon EC2 driver
Signed-off-by: Koichi Shiraishi <zcheeee@gmail.com>
2015-05-21 10:43:26 +09:00
Evan Hazlett ce61151e2b Merge pull request #1191 from peter-edge/fix_build_mac_1_4
Fix build for mac with golang 1.4 after doing godep go install ./...
2015-05-20 11:27:29 -04:00
Evan Hazlett d09013e8a2 Merge pull request #1198 from exoscale/fix/remove-extra-machine-binary
Remove extra machine binary at the root of the repository.
2015-05-20 11:26:16 -04:00
Vincent Bernat 990009644a Remove extra machine binary at the root of the repository.
This has been erroneously added in #1175.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-05-20 10:32:39 +02:00
Nathan LeClaire 2f78b7f92a Move code to use SSH "backends"
Default to shelling out to SSH when available.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-05-19 15:02:57 -07:00
Evan Hazlett bd93f2e9cf Merge pull request #1180 from hairyhenderson/arm-linux-build
Adding linux/arm to the platforms that get built
2015-05-19 15:28:35 -04:00
Evan Hazlett 309afd1112 Merge pull request #1175 from hairyhenderson/add-machine-name-envvar-925
Adding new DOCKER_MACHINE_NAME environment variable
2015-05-19 15:28:13 -04:00
Evan Hazlett 76ba5b258e
vbox: use intel driver for nic
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-05-19 09:26:24 -04:00
Evan Hazlett c4be46ad03 Merge pull request #1183 from hairyhenderson/softlayer-use-machinename-as-hostname-1003
Defaulting SoftLayer hostname to machine name
2015-05-19 09:23:16 -04:00
Peter Edge ae33cf1448 fix build for mac with golang 1.4 after doing godep go install ./...
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2015-05-18 23:07:30 +02:00
Dave Henderson fe4652b21d Defaulting SoftLayer hostname to machine name
Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
2015-05-18 16:07:59 -04:00
Evan Hazlett 0c2eeadc8d Merge pull request #1186 from michaellopez/patch-1
Fixed typo in b2d_migration
2015-05-18 09:38:45 -04:00
Michael Lopez d55c1d363b Fixed typo in b2d_migration
Added missing asterisk
2015-05-18 14:07:25 +02:00