Commit Graph

11921 Commits

Author SHA1 Message Date
Brian Cain 29696b0f73
Allow for ipv6 networks in docker 2019-03-01 16:20:16 -08:00
Brian Cain 000457a012
Update how docker network provider creates networks
This commit updates the docker network provider to only create networks
by subnet rather than per-container.
2019-03-01 16:07:53 -08:00
Brian Cain c20de9044d
Log information if unsupported docker network option is provided 2019-03-01 08:34:43 -08:00
Brian Cain 4a0f1a0a33
Update docker network action to auto-generate cli flags
This commit updates the docker network behavior to auto-generate the
docker network command flags from Vagrants network config option.
2019-03-01 08:34:43 -08:00
Brian Cain b5a092397f
Add new function for handling vagrant options to docker network cli
flags
2019-03-01 08:34:43 -08:00
Brian Cain ba2a1224e0
Update driver to include network tests 2019-03-01 08:34:43 -08:00
Brian Cain dc5f8c66f2
Add todo comment for future fixup 2019-03-01 08:34:43 -08:00
Brian Cain 4dc5f7c330
Add basic ability to configure some networks for containers 2019-03-01 08:34:43 -08:00
Brian Cain e860c7709d
Begin to setup and configure docker networks for containers 2019-03-01 08:34:43 -08:00
Brian Cain 8013d8d5ef
Move around Network setup action for docker provider 2019-03-01 08:34:43 -08:00
Brian Cain 63ba0f9964
Add DestroyNetwork action to docker provider 2019-03-01 08:34:43 -08:00
Brian Cain 349cc5ddac
Add placeholder network destroy action for docker 2019-03-01 08:34:43 -08:00
Brian Cain a336aa687c
Add logger and start to iterate over networks in config 2019-03-01 08:34:43 -08:00
Brian Cain bed653eeb4
Autoload and use Network action on up 2019-03-01 08:34:43 -08:00
Brian Cain 67ea15126d
Make opts var optional for docker driver methods 2019-03-01 08:34:43 -08:00
Brian Cain 627251a307
Add basic docker network action 2019-03-01 08:34:43 -08:00
Brian Cain ec2e0380ee
Add basic docker driver methods for `docker network` subcommand 2019-03-01 08:34:43 -08:00
Chris Roberts b4d87e6ce9 Update version for dev 2.2.5.dev 2019-02-27 07:38:22 -08:00
Chris Roberts 521d3fa20f Update download version to 2.2.4 2019-02-27 07:37:03 -08:00
Chris Roberts 25e11650c3 Release v2.2.4 2019-02-27 07:35:56 -08:00
Chris Roberts ddd1e5f8c2 Update CHANGELOG 2019-02-26 14:11:46 -08:00
Chris Roberts 927364652f
Merge pull request #10595 from danowar2k/master
- FIX for #10594
2019-02-26 14:09:31 -08:00
Chris Roberts db0f215d42 Update CHANGELOG 2019-02-26 13:32:22 -08:00
Brian Cain a5f5d533bf
Update CHANGELOG 2019-02-26 13:30:37 -08:00
Brian Cain 1592c0c216
Merge pull request #10690 from briancain/cleanup-rsync-tmp-folders
Cleanup rsync tmp folders
2019-02-26 13:25:34 -08:00
Chris Roberts 6beb736190
Merge pull request #10698 from chrisroberts/f-scp
Update communicator upload behavior to handle `/.` path directives
2019-02-26 13:24:40 -08:00
Brian Cain 3b540e502f
Force removal of rsync tmp dir
Force delete entry to prevent any potentail failures when trying to
clean up the tmp dir from rsync
2019-02-26 09:08:56 -08:00
Chris Roberts e2b6a6645c Always ensure remote destination directory exists 2019-02-26 08:54:49 -08:00
Chris Roberts 6b105d704d Update communicator upload behavior to handle `/.` path directives
This update was prompted by updates in openssh to the scp behavior
making source directory paths suffixed with `.` no longer valid
resulting in errors on upload. The upload implementation within
the ssh communicator has been updated to retain the existing
behavior.

Included in this update is modifications to the winrm communicator
so the upload functionality matches that of the ssh communicator
respecting the trailing `.` behavior on source paths. With the
communicators updated to properly handle the paths, the file
provisioner was also updated to simply apply previously defined
path update rules only.

Fixes #10675
2019-02-26 08:02:09 -08:00
Brian Cain 401a571642
Add windows platform test for ensuring tmp file does not exist 2019-02-22 12:44:46 -08:00
Brian Cain 45ca16ffd5
Add rsync helper test for linux machines 2019-02-22 12:38:23 -08:00
Andrew Eikum 7517faa9ee
Remove tmpdir after rsync completes 2019-02-22 12:24:13 -08:00
Brian Cain 1d25480e23
Update CHANGELOG 2019-02-22 10:51:45 -08:00
Brian Cain 52edbedebf
Merge pull request #10686 from briancain/move-middleware-auth-to-cloud-namespace
Fixes #10682: Move over AddAuthentication middleware and hooks
2019-02-22 10:51:02 -08:00
Brian Cain cdcedb0a9e
Fixes #10682: Move over AddAuthentication middleware and hooks
Prior to this commit, the AddAuthentication hooks still existed in a
deprecated class LoginCommand. This commit fixes that by moving it over
to the vagrant cloud cli namespace instead.
2019-02-21 09:42:16 -08:00
Brian Cain 4bf3f6f80a
Update CHANGELOG 2019-02-20 11:05:05 -08:00
Brian Cain 31b9aafcf7
Merge pull request #10622 from mattin4d/master
Change remaining box_client_cert refs to box_download_client_cert
2019-02-20 11:03:49 -08:00
Brian Cain cee88dad81
Merge pull request #10676 from cemderin/add-validate-parameter-to-docs
Add `vagrant validate` parameters to docs
2019-02-19 09:57:19 -08:00
Cem Derin aa60cb1f8f Add `vagrant validate` parameters to docs 2019-02-17 12:54:05 +01:00
Brian Cain a38b0898ce
Merge pull request #10671 from briancain/err-msg-for-bad-version
Fixes #10663: Ignore boxes in collection with malformed version numbers
2019-02-14 16:16:22 -08:00
Brian Cain 6b9cdb4e48
Fixes #10663: Ignore boxes in collection with malformed version numbers
Prior to this commit, if a box some how got on disk that had an
incorrect or invalid version number that did not match Gem::Version,
Vagrant would throw an exception when attempting to generate a list of
the boxes on disk. This commit fixes that by looking at the version from
the path generated, and shows a warning to the user about the box and
skips it from the list so they at least know about the problematic box
and can still get a list of boxes.
2019-02-14 15:30:11 -08:00
Chris Roberts 7bfb41e71d Update CHANGELOG 2019-02-12 16:36:03 -08:00
Chris Roberts 81a7939a76
Merge pull request #10666 from chrisroberts/f-sigint-trap-err
Wrap output in thread when being called from within trap-context
2019-02-12 16:34:49 -08:00
Chris Roberts 68e1425e14
Merge pull request #10665 from chrisroberts/f-vmware-util-doc
Update path for manual vagrant-vmware-utility installation
2019-02-12 16:27:12 -08:00
Chris Roberts 7e47602e3d Wrap output in thread when being called from within trap-context
This prevents a ThreadError exception being raised on sigint which
resulted in a stacktrace being dumped.
2019-02-12 16:06:16 -08:00
Brian Cain 61a598e612
Update CHANGELOG 2019-02-12 10:01:27 -08:00
Brian Cain 045f31cc45
Merge branch 'master' of github.com:hashicorp/vagrant 2019-02-12 10:00:25 -08:00
Brian Cain 68e21d8ac5
Merge pull request #10664 from chrisroberts/f-plugin-config-format
Fix format finalization of plugins in Vagrantfile
2019-02-12 10:00:14 -08:00
Brian Cain 4961683fc4
Update CHANGELOG 2019-02-12 09:59:25 -08:00
Brian Cain 26d05130c4
Merge pull request #10647 from chrisroberts/f-appimage-ld
Use ld path with appimage libs on suffix
2019-02-12 09:58:53 -08:00