Commit Graph

223 Commits

Author SHA1 Message Date
Vincent Giersch 59260f2716 OpenStack: Allow to provide both tenant name and id
When sourcing an OpenStack rc file, both variables OS_TENANT_ID
and OS_TENANT_NAME are defined.

Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
2015-01-14 22:01:31 +01:00
Guillaume Giamarchi f6b0c81996 Add OpenStack driver
Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>
2015-01-14 22:01:31 +01:00
Evan Hazlett c2f1fea9dc Merge pull request #219 from sthulb/hostnames
Hostnames
2015-01-14 09:31:43 -05:00
Evan Hazlett 37afa24a8e Merge pull request #276 from sthulb/vbox-store
Move VirtualBox configuration file to be inside the data store
2015-01-14 09:15:08 -05:00
Ben Firshman 9a2f8ca748 Merge pull request #266 from ehazlett/tls-check
fixes #229: wait for docker before adding to known_hosts
2015-01-14 13:52:47 +00:00
Simon Thulbourn 916e6fcad8 Move VirtualBox configuration file to be inside the data store
It turns out, that we only stored the actual disk inside the data store,
this brings it back inline with vmware

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-14 12:10:36 +00:00
Simon Thulbourn a70e8462cb adds support for AWS IAM roles
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-13 18:16:43 +00:00
Evan Hazlett 8d40d8219c
fixes #229: wait for docker before adding to known_hosts
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-12 15:20:03 -05:00
Simon Thulbourn 861b16dba9 add machine name to VM name and hostname
This work sets the machine name in the Cloud API or Hypervisor. As well
as setting the hostname inside the VM.

I've added the machine name to the NewDriver func to allow for
identification by Cloud APIs and for the driver package.

Each driver will attempt to set the hostname for the VM, except for
Azure, which sets it based on the DNS name.

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-12 16:46:00 +00:00
Andy Shinn db5147e04f listen on unix socket on Digital Ocean hosts
Signed-off-by: Andy Shinn <andys@andyshinn.as>
2015-01-09 19:37:23 -06:00
Evan Hazlett 5a251c5d1b Merge pull request #6 from cloudnativeapps/vmw-drivers
VMware host drivers for Fusion, vSphere and vCloud Air
2015-01-08 11:11:39 -08:00
Yang Yang 1bad10773c Added vSphere machine driver
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 11:00:39 +01:00
Fabio Rapposelli 92dd8e01d1 Added vCloud Air machine driver
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 11:00:22 +01:00
Zee Yang 1e363a352a Added VMware Fusion machine driver
Signed-off-by: Fabio Rapposelli <frapposelli@vmware.com>
2015-01-08 10:59:58 +01:00
Nathan LeClaire 8e5fd7b2c3 Fix some go vet complaints
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-07 14:48:09 -08:00
Nathan LeClaire cbca38c8a2 Add test for flag order
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-06 09:20:15 -08:00
Nathan LeClaire 2d435d41f1 Sort flags in create output
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-05 13:20:51 -08:00
Ben Firshman 0b98347ed9 Merge pull request #207 from ehazlett/automatically-trust-fingerprints
automatically add host fingerprint to known hosts
2015-01-05 11:26:52 +00:00
Evan Hazlett b0936b1b53 automatically add host fingerprint to known hosts
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-02 15:40:11 -05:00
Ben Firshman e32c54d0f5 Merge pull request #201 from ehazlett/gce-env-vars
add env vars for google driver; add google instructions to docs
2015-01-02 11:58:55 +00:00
Evan Hazlett a9ff2857ee
listen on socket in addition to tls for amazon driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-01 20:50:41 -05:00
Evan Hazlett 0ab3bfa07b
add env vars for google driver; add google instructions to docs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-01 10:39:01 -05:00
Ben Firshman df56d070f0 Merge pull request #54 from dlorenc/master
GCE Driver.
2014-12-31 17:30:56 +00:00
Ben Firshman 91bec81903 Merge pull request #189 from ehazlett/docker-1.4.1
use 1.4.1 identity build
2014-12-31 15:48:51 +00:00
Ben Firshman 169b2b6459 Merge pull request #128 from ehazlett/azure-fixes
use ubuntu 14.04 in azure; fix port errors and endpoint issues
2014-12-31 15:47:54 +00:00
Evan Hazlett 41644ceaac use 1.4.1 identity build
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-31 01:09:21 -05:00
Evan Hazlett cd7d47074c
update b2d iso url
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-30 12:52:11 -05:00
Ben Firshman ba213b9042 Merge pull request #111 from ehazlett/persist-b2d-keys
fixes #108: persist identity keys in b2d
2014-12-30 14:35:03 +00:00
Evan Hazlett 103484c4a8 use ubuntu 14.04 in azure; fix port errors and endpoint issues
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-23 00:20:37 -05:00
Ben Firshman 82965024ea Merge pull request #105 from nathanleclaire/cache_b2d_iso
Only download boot2docker.iso one time
2014-12-22 22:15:27 +00:00
Dan Lorenc 3f937a595d Fix integration test.
Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
2014-12-21 12:33:07 -08:00
Dan Lorenc e162aa30eb Switch auth to copy/paste.
Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
2014-12-20 15:14:41 -08:00
Evan Hazlett 74328e113a add env vars for amazonec2 driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-19 10:25:03 -05:00
Evan Hazlett b2f2b912e6 Merge pull request #98 from ehazlett/ec2-use-vpc
add vpc-id and zone options for ec2
2014-12-19 10:21:35 -05:00
Johan Euphrosine 47004d74d6 drivers: rename googlecomputeengine to google
Signed-off-by: Johan Euphrosine <proppy@google.com>
2014-12-18 11:28:55 -08:00
Johan Euphrosine 5e5ff565fe googlecomputeengine: fix update script
Signed-off-by: Johan Euphrosine <proppy@google.com>
2014-12-18 11:28:47 -08:00
Johan Euphrosine 941ddb1a91 googlecomputengine: add template for script
Signed-off-by: Johan Euphrosine <proppy@google.com>
2014-12-18 11:27:12 -08:00
Ben Firshman eabb103f8b Merge pull request #113 from ehazlett/ec2-fixes
add standard upgrade procedure; spelling
2014-12-18 01:50:49 +00:00
Evan Hazlett e49e368cc3
allow vpc-id, zone and subnet-id options for ec2
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-17 16:31:00 -05:00
Evan Hazlett bce80946d1
just return sshCmd.Run
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-17 13:43:31 -05:00
Evan Hazlett 13afcfe3ed
add standard upgrade procedure; spelling
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-16 22:35:07 -05:00
Nathan LeClaire 154d71ee9c Make more robust based on feedback from @ehazlett
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2014-12-16 16:24:48 -08:00
Evan Hazlett 02c38dcda7 fixes #108: persist identity keys in b2d
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-16 19:20:52 -05:00
Dan Lorenc 17536555b1 New import path.
Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
2014-12-16 15:45:10 -08:00
Dan Lorenc 328977c83e Made cmds constants.
Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
2014-12-16 15:41:10 -08:00
Nathan LeClaire fb0407ecdc Only download boot2docker.iso one time
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2014-12-16 15:30:57 -08:00
Nathan LeClaire 6c889c3864 Fix a few things caught by go vet
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2014-12-16 14:21:44 -08:00
Evan Hazlett 3d1582c69f
add default zone for amazonec2
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-16 14:37:23 -05:00
Dan Lorenc 5525cf9f6f Proppy code review feedback.
Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
2014-12-16 11:16:25 -08:00
dlorenc 17d8b16a37 GCE Driver.
Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
2014-12-15 20:23:38 -08:00
Evan Hazlett 888181245e use vpc-id and zone instead of subnet-id for ec2
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-15 22:38:57 -05:00
Evan Hazlett cb8a951bb8
added better error reporting
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 17:48:49 -05:00
Evan Hazlett 909e69baff initial work on aws for machine; huge thanks to @nathanleclaire for the
initial implementation

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 17:00:57 -05:00
Damien DUPORTAL eda8bbd2bd Moving path to filepath dependency
Signed-off-by: Damien DUPORTAL <damien.duportal@gmail.com>

Conflicts:
	drivers/azure/azure.go
	store.go
	store_test.go
2014-12-12 11:09:43 -08:00
Simon Thulbourn 64c73597e2 adds codegangsta/cli
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-12 18:11:17 +00:00
Jeff Mendoza 52019047f1 Fix #68. Homedir is now detected same as Docker.
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2014-12-11 16:11:23 -08:00
Ben Firshman 932779fed1 Merge pull request #64 from MSOpenTech/master
Added support for identity auth in Azure driver
2014-12-11 21:31:07 +00:00
Ruslan Gabitov a644aba70f Added comment to Azure driver
Added comment explaining retries in hackForIdentityAuth() method

Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-09 18:48:03 -08:00
Ben Firshman 4e719d4d02 Merge pull request #67 from bfirsh/fix-vbm-test
Fix test for VBoxManage
2014-12-10 00:30:26 +00:00
Ben Firshman 1d83284129 Fix test for VBoxManage
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-09 16:15:47 -08:00
Jeff Mendoza 50e5b2501a Fix homedir for Windows.
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
2014-12-09 15:51:15 -08:00
Ruslan Gabitov 04382b4730 Fix Azure driver with gofmt
Fix Azure driver with gofmt

Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-09 15:20:17 -08:00
Ruslan Gabitov 3df09689e6 Added support for identity auth in Azure driver
Added support for identity auth in Azure driver

Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-09 14:08:09 -08:00
Ben Firshman 05ab691caf Merge pull request #53 from bfirsh/do-not-use-boot2docker-iso-on-disk
Don't use boot2docker ISO on disk
2014-12-09 16:11:17 +00:00
Ben Firshman 415c3f2c0c Don't use boot2docker ISO on disk
This was a hack for the DockerCon demo. We do want some way of
caching the boot2docker image, but this certainly isn't the way.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-08 16:26:57 -08:00
Ben Firshman fbc2e92924 Merge pull request #44 from MSOpenTech/master
Fixed Remove() method in Azure driver
2014-12-08 22:24:14 +00:00
Ruslan Gabitov 489e2acaec Fixed Remove() method in Azure driver
Fixed Remove() method in Azure driver

Signed-off-by: Ruslan Gabitov <ruslan.gabitov@live.com>
2014-12-08 13:24:45 -08:00
Ben Firshman cd31776e0b Merge pull request #33 from bfirsh/check-that-public-key-exists-when-creating-machines
Check that public key exists when creating machine
2014-12-08 20:42:00 +00:00
Ben Firshman fa4b7ddfd0 Document VBoxManage check
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-08 10:30:03 -08:00
Simon Thulbourn 773e8252dd bails out of virtualbox driver if VBoxManage doesn't exist
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-07 19:47:05 +00:00
Simon Thulbourn b8fe0bc347 bails out of virtualbox driver quickly if it doesn't exist.
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2014-12-07 19:46:25 +00:00
Ben Firshman dcf081d758 Check that public key exists when creating machine
Fixes #4

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-06 20:54:41 +01:00
Ben Firshman 73d19108bf Initial commit
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-12-04 15:05:11 +01:00