Florian Ludwig
b36cb27a04
openstack: don't fail when trying to delete non-existing keypair
...
Signed-off-by: Florian Ludwig <f.ludwig@greyrook.com >
2018-09-20 14:35:00 -07:00
liusheng
7909ee37a4
Fix integrate tests of core commands cases
...
Signed-off-by: liusheng <liusheng@huawei.com >
2018-09-19 17:01:26 -07:00
F. Eugene Aumson
dccdee0102
aws ec2 preqreq check: match error to filter
...
filter to search for a subnet searches by both regionZone and VpcId,
but when no matches were found, the error message neglected to mention
that the VPC ID was part of the search criteria
Signed-off-by: F. Eugene Aumson <feuGeneA@github.com >
2018-09-19 16:38:38 -07:00
F. Eugene Aumson
69717945a4
amazonec2: correct mis-handling of 'none' VPC
...
Without this change,
docker-machine create \
--driver amazonec2 \
--amazonec2-security-group parity-security-group \
--amazonec2-instance-type t2.medium \
--amazonec2-access-key ... \
--amazonec2-secret-key ... \
--amazonec2-root-size 128 \
parity-node
yields the program output
Error with pre-create check: "unable to find a subnet in the zone: us-e
ast-1a"
which comes from drivers/amazonec2/amazonec2.go:506.
But that message is misleading. After sprinkling in some
`fmt.Println`s, I discovered that the missing piece of info is not
actually the subnet, but rather the VPC ID, which is "none".
With this change, that same command now yields:
Error setting machine configuration from flags provided: amazonec2 driv
er requires either the --amazonec2-subnet-id or --amazonec2-vpc-id opti
on or an AWS Account with a default vpc-id
Signed-off-by: F. Eugene Aumson <feuGeneA@github.com >
2018-09-19 16:38:38 -07:00
Hiromu OCHIAI
7768a5bdaf
Use latest docker/docker revision
...
Signed-off-by: Hiromu OCHIAI <otiai10@gmail.com >
2018-09-19 16:35:55 -07:00
liusheng
9ec6729bad
Fix wrong docker daemon process name of engine options tests
...
Signed-off-by: liusheng <liusheng@huawei.com >
2018-09-19 16:35:13 -07:00
Yuki Nishiwaki
6c90ba4d3d
Return error of command exec in SSH NativeClient
...
Signed-off-by: Yuki Nishiwaki <uckey.1067@gmail.com >
2018-09-19 16:33:08 -07:00
Tianon Gravi
7a9ce45749
Update "aufs" to "overlay2" in several places
...
Signed-off-by: Tianon Gravi <admwiggin@gmail.com >
2018-09-19 16:28:48 -07:00
Robert Rettig
dfdca21286
change default storage driver for redhat
...
Signed-off-by: Robert Rettig <robert.rettig@ndgit.com >
2018-09-19 16:27:30 -07:00
cygmris
19035310d4
fix invalid ignorance of bin directory
...
Signed-off-by: cygmris <root@schoolpot.org >
2018-07-13 15:55:25 -04:00
Joffrey F
4f225c9543
Add PR template
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2018-07-13 15:50:20 -04:00
Joffrey F
eae38c196a
Update CHANGELOG - v0.15.0
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2018-06-12 16:57:20 -07:00
David Gageot
1e4713ba7b
Merge pull request #4477 from shahiddev/master
...
Add support to disable hyperv dynamic memory management
2018-06-04 14:17:08 +02:00
David Gageot
635818aba6
Merge pull request #4490 from andrestc/ec2-sg-readonly
...
drivers/amazonec2: adds flag to prevent mutating security groups
2018-06-04 14:15:21 +02:00
David Gageot
8941c31381
Merge pull request #4491 from mshindo/fusion-driver-fix
...
The parentheses are needed for the shell commands to be executed properly.
2018-06-04 14:14:42 +02:00
Motonori Shindo
e515a4be57
The parentheses are needed for the shell command to be executed properly.
...
If the shell command looks like
"condition1 && command1 || condition2 && command2 || command3"
then condition2 will never be checked if condition1 is true and command1
exists normally. In order for this code to run expectedly, it should look
like
"(condition1 && command1) || (condition2 && command2) || command3"
instead.
Specifically, with the code like
"[ ! -d /Users ]&& sudo mkdir /Users; sudo mount --bind /mnt/hgfs/Users /Users || [ -f /usr/local/bin/vmhgfs-fuse ]&& sudo /usr/local/bin/vmhgfs-fuse -o allow_other .host:/Users /Users || sudo mount -t vmhgfs -o uid=$(id -u),gid=$(id -g) .host:/Users /Users"
if both "[ ! -d /Users ]" and "sudo mkdir /Users; sudo mount --bind
/mnt/hgfs/Users /Users" are true, then the existence of a file
/usr/local/bin/vmhgfs-fuse will never be examined and always be executed
even if the file doesn't exist. Consequently, it always fails.
Signed-off-by: Motonori Shindo <motonori@shin.do >
2018-05-25 01:14:47 +09:00
André Carvalho
c6a7c452a5
drivers/amazonec2: adds flag to prevent mutating security groups
...
Signed-off-by: André Carvalho <asantostc@gmail.com >
2018-05-23 14:34:34 -03:00
Shahid Iqbal
6aeb46f7f3
Add support to disable hyperv dynamic memory management during VM creation
...
Signed-off-by: Shahid Iqbal <sf.shahid@gmail.com >
2018-05-13 17:21:29 +01:00
David Gageot
7890e8dc57
Merge pull request #4451 from krufab/bugfix/ISSUE-4450-use-ssh-serveraliveinterval
...
ISSUE-4450 Added ServerAliveInterval among the default ssh options
2018-05-12 18:53:05 +02:00
David Gageot
0331899185
Merge pull request #4457 from exoscale/exoscale/fixes
...
Exoscale/fixes
2018-05-12 18:52:19 +02:00
David Gageot
cb2b414a12
Merge pull request #4449 from pmatos/patch-1
...
Add emacs as option to env command --shell flag
2018-05-12 18:51:47 +02:00
David Gageot
7b263d8702
Merge pull request #4466 from albers/completion-env--shell
...
Update bash completion for `env --shell`
2018-05-12 18:51:12 +02:00
Harald Albers
ce2222777d
Update bash completion for env --shell
...
Signed-off-by: Harald Albers <github@albersweb.de >
2018-05-04 11:30:35 +02:00
Yoan Blanc
a61bafea02
exoscale: picking the username from the template
...
- grab the username from the template
- more robust template search
- storing the raw as well UserData
- creating folder before storing the private key
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-04-30 17:00:36 +02:00
Yoan Blanc
228530f6c9
exoscale: upgrade to v0.9.23
...
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-04-30 17:00:25 +02:00
Fabio Kruger
838076583b
ISSUE-4450 Added ServerAliveInterval among the default ssh options and sorted them alphabetically to improve readability
...
Signed-off-by: Fabio Kruger <fabio.kruger@vyzvoice.com >
2018-04-12 16:14:57 +02:00
Paulo Matos
ead1588fc6
Add emacs as option to env command --shell flag
...
Signed-off-by: Paulo Matos <pmatos@linki.tools >
2018-04-12 14:59:58 +02:00
David Gageot
1e3b6b6450
Merge pull request #4421 from nogoegst/openbsd-amd64-ci
...
Add OpenBSD/amd64 crossbuild to CI scripts
2018-03-29 11:32:00 +02:00
David Gageot
9715a12e47
Merge pull request #4435 from exoscale/exoscale/too-many-security-groups
...
exoscale: library update
2018-03-29 11:31:42 +02:00
David Gageot
0f571b0b2f
Merge pull request #4431 from dgageot/go-1.10
...
Switching to go 1.10
2018-03-29 11:30:43 +02:00
Yoan Blanc
f50078c415
exoscale: update code w.r.t. lib update
...
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-03-22 08:30:31 +01:00
Yoan Blanc
e99abe7154
upgrade egoscale to v0.9.14
...
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-03-22 08:21:13 +01:00
David Gageot
66634bcaa0
Switching to go 1.10
...
Signed-off-by: David Gageot <david@gageot.net >
2018-03-20 17:22:16 +01:00
David Gageot
e501d1bcb5
Merge pull request #4426 from beppler/4424-powershell-module-not-available
...
Fix issue #4424 - Pre-create check: "Hyper-V PowerShell Module is not available"
2018-03-20 16:32:28 +01:00
Carlos Alberto Costa Beppler
5163583eef
Use the correct case for Hyper-V module name.
...
Signed-off-by: Carlos Alberto Costa Beppler <carlos.beppler@mps.com.br >
2018-03-19 15:13:29 -03:00
Carlos Alberto Costa Beppler
c79bd4ad74
Correct the Hyper-V module check on pre-create check.
...
Signed-off-by: Carlos Alberto Costa Beppler <carlos.beppler@mps.com.br >
2018-03-19 15:13:22 -03:00
Ivan Markin
07f1279471
Add OpenBSD/amd64 crossbuild to CI scripts
...
Signed-off-by: Ivan Markin <sw@nogoegst.net >
2018-03-15 18:18:44 +00:00
David Gageot
51ed7e7b5f
Merge pull request #4414 from nogoegst/go-get-cmd
...
Move cmd files under cmd/docker-machine to make it go-install-able
2018-03-14 21:06:30 +01:00
David Gageot
31e63bbd2d
Merge pull request #4415 from meeee/ec2-update-default-amis
...
EC2: Update AMIs to mitigate Meltdown and Spectre
2018-03-07 16:54:25 +01:00
Joffrey F
37484ac714
Update CHANGELOG with 0.14.0 release notes
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2018-03-06 12:17:04 -08:00
Michael Frister
68fb7fcfc3
EC2: Update AMIs to mitigate Meltdown and Spectre
...
Also add the cn-northwest-1 region.
Note: The latest AMIs for China are from January, so they most certainly
don't have all Meltdown/Spectre mitigations.
Signed-off-by: Michael Frister <michael.frister@friday.de >
2018-03-06 13:42:50 +01:00
Ivan Markin
3b022acb4f
Fix Appveyor script to use new cmd location
...
Signed-off-by: Ivan Markin <sw@nogoegst.net >
2018-03-04 19:36:56 +00:00
Ivan Markin
fe9351b257
Move cmd files under cmd/docker-machine to make it go-install-able
...
Signed-off-by: Ivan Markin <sw@nogoegst.net >
2018-03-04 19:19:24 +00:00
David Gageot
2729200cfd
Merge pull request #4403 from exoscale/exoscale/template-size
...
exoscale/template size
2018-03-03 17:50:38 +01:00
Joffrey F
1b5de469d0
Check NotAfter date on certs and recreate if necessary
...
Signed-off-by: Joffrey F <joffrey@docker.com >
2018-03-02 11:02:44 -08:00
Yoan Blanc
9470b46e8e
exoscale: add default user for RedHat and Fedora
...
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-03-02 16:43:44 +01:00
Yoan Blanc
6f2a14bd24
exoscale: arbitrary disk size
...
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-03-02 16:43:43 +01:00
Yoan Blanc
d77d260e61
exoscale: allow reusing existing SSH key pair
...
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-03-02 16:43:43 +01:00
Yoan Blanc
6e0345274a
exoscale: update egoscale library to 0.9.10
...
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch >
2018-03-02 16:43:35 +01:00
David Gageot
a950319ea4
Merge pull request #4396 from nogoegst/dep
...
migrate vendor to golang/dep
2018-03-02 09:38:05 +01:00