Commit Graph

12298 Commits

Author SHA1 Message Date
Chris Roberts e7e8a39c55 Stub the ssh path used for exec
Since a full path to the ssh executable is being used and is expected
at a specific location, default to providing that location when looking
up the executable. This prevents errors from occurring when a host
system provides an `ssh` match at a different path.
2019-04-25 10:44:25 -07:00
Chris Roberts 5b94bbb49b Scrub folder configuration data when persisting to disk
Before writing synced folder configuration data to the local
data directory run content through the credential scrubber to
remove any sensitive content before write.
2019-04-25 10:31:48 -07:00
Chris Roberts 92e6a29bfc Update naming in tests as instance methods are being referenced 2019-04-25 10:09:50 -07:00
Chris Roberts b493503e09 Scrub SMB credential information from folder configuration
This prevents credential information from being persisted into the
local data directory which is used during subsequent runs to determine
folder definition changes.
2019-04-25 10:07:48 -07:00
Brian Cain c22a145c59
Update CHANGELOG 2019-04-25 08:44:49 -07:00
Brian Cain 15c7fc23ce
Merge pull request #10810 from alex-goncharov-usa/fix-box-update-version-sort
Fix box version sort in Update.update_specific
2019-04-25 08:41:41 -07:00
Alex Goncharov 9266899b34 Add a test for version selection for a box update 2019-04-24 19:59:37 -04:00
Alex Goncharov b75768fc56 Fix box version sort in Update.update_specific 2019-04-24 18:57:34 -04:00
Franklin Yu 13a959312d
Mention variable expansion in documentation 2019-04-24 17:13:17 -04:00
Brian Cain 757175b94e
Add note about removing patch fix and add test 2019-04-22 10:36:25 -07:00
Brian Cain e2097be55e
Fixes #10800, Fixes #9148: Ensure rubygems is loading gemrc properly on Windows
Prior to this commit, when Vagrant attempted to use the Gem library, it
would attempt to pass in a gemrc through an environment variable that
the rubygems library would try to split and parse. This is normally
fine, as the method in question would return empty if that file did not
exist. However if the user had a file that matches the drive that
Vagrant was installed on, rubygems would fail saying the folder was not
a file (or a gemrc, in this case).

This commit works around that by instead configuring the gemrc location
through ruby with `Gem.configuration`.

Related rubygems issue
[#2733](https://github.com/rubygems/rubygems/issues/2733)
2019-04-19 17:07:49 -07:00
Brian Cain ad342e2bf0
Merge pull request #10792 from briancain/make-env-var-docs-clearer
Reword documentation for VAGRANT_DISABLE_VBOXSYMLINKCREATE option
2019-04-15 09:11:51 -07:00
Brian Cain e0cd29e301
Fixup docs for environment variable 2019-04-12 15:48:31 -07:00
Brian Cain cb69836fb7
Reword documentation for VAGRANT_DISABLE_VBOXSYMLINKCREATE option
Follow-up from #10790
2019-04-12 15:40:10 -07:00
Brian Cain cd3909d7ce
Update CHANGELOG 2019-04-09 15:13:17 -07:00
Brian Cain 139ae4397f
Merge pull request #10625 from vdebroy/fix-issue-9584
Fix issue 9584
2019-04-09 15:12:02 -07:00
Brian Cain 114775475c
Update CHANGELOG 2019-04-09 15:11:36 -07:00
Brian Cain 8e9578cf5d
Merge pull request #10752 from chrisroberts/f-coreos-guest-caps
Update guest capabilities for coreos
2019-04-09 15:10:58 -07:00
Brian Cain 3a81a92db7
Update CHANGELOG 2019-04-09 15:05:11 -07:00
Brian Cain 8109433885
Merge pull request #10784 from briancain/fixup-snapshot-list-virtualbox
Ensure non-existent machines do not attempt to list snapshots
2019-04-09 15:03:50 -07:00
Brian Cain 46e42ed884
Move up doc string for `vagrant snapshot pop`
This commit moves up the doc string for the command `vagrant snapshot
pop` Prior to this commit it was hidden in between command line flags.
2019-04-09 13:14:44 -07:00
Brian Cain 75d4aa42a1
Ensure non-existent machines do not attempt to list snapshots
Prior to this commit, if a snapshot restore was run on an entire
environment with some non-existent guests, Vagrant would attempt to list
their snapshots with a nil id. This commit fixes that by returning an
empty list of snapshots if the machine has not been created yet.
2019-04-09 13:11:19 -07:00
Brian Cain 1fe8712ec2
Merge pull request #10772 from briancain/fixup-provision-shell-docs
Remove *I* from documentation
2019-04-02 10:18:04 -07:00
Brian Cain 872c036686
Remove *I* from documentation
Removing I since it does not really make sense while reading the
documentation.
2019-04-01 16:18:29 -07:00
Brian Cain 5254ed4ae0
Update CHANGELOG 2019-03-29 09:48:49 -07:00
Brian Cain 84e348bfab
Merge pull request #10763 from jlduran/freebsd-simplify-interfaces-list
FreeBSD: Simplify the listing of interfaces
2019-03-29 09:48:11 -07:00
Jose Luis Duran 93f02c67f8
FreeBSD: Simplify the listing of interfaces
According to ifconfig(8), to list only Ethernet interfaces, excluding
all other interface types, including the loopback interface, the command
to use should be:

    ifconfig -l ether

Related to: #8760
2019-03-29 02:47:39 -03:00
Brian Cain 6edcf12979
Merge pull request #10762 from abh23/patch-1
note for pre-requisite of ngrok package
2019-03-28 09:37:31 -07:00
Brian Cain 3d69bfaceb
Update CHANGELOG 2019-03-28 08:44:51 -07:00
Brian Cain 3cb3c91654
Merge pull request #10761 from jlduran/follow-linux-naming-convention
BSD: VirtualBox shared folders naming convention
2019-03-28 08:43:48 -07:00
Amit Bhardwaj 33c1ebf84b
note for pre-requisite of ngrok package
Current version of vagrant-share works only with ngrok installed. Just added a note for the same.
2019-03-28 14:27:39 +05:30
Jose Luis Duran 1cf0e62400
BSD: VirtualBox shared folders naming convention
This is a follow-up of #10717 to use the same naming convention as on
Linux guests, in order to reduce the diffs.

Also adds the missing capability to `unmount_virtualbox_shared_folder`
on FreeBSD guests.
2019-03-28 02:34:34 -03:00
Brian Cain 3da2270366
Update CHANGELOG 2019-03-25 15:44:27 -07:00
Brian Cain ec67151312
Merge pull request #10702 from briancain/docker-network-support
Docker Provider Network Support
2019-03-25 15:43:23 -07:00
Chris Roberts 8339e63423 Fix subnet to ip_range and add gateway information for public networks 2019-03-25 15:26:18 -07:00
Chris Roberts 1e856ecf8a Add information on public_network for docker provider 2019-03-25 15:13:19 -07:00
Brian Cain 1a596e26ab
Merge pull request #10747 from rconde-bt/master
Fixed typos: vargant->vagrant
2019-03-25 14:03:50 -07:00
Brian Cain f4c6aa8aa1
Update docker provider networking docs from pull request feedback 2019-03-25 13:25:49 -07:00
Brian Cain a8733e2800
Merge pull request #10758 from briancain/update-license-year
Update year on LICENSE
2019-03-25 10:39:18 -07:00
Brian Cain dd782294f4
Update year on LICENSE 2019-03-25 10:21:32 -07:00
Chris Roberts 0575fdfd69 Do not rely on IPAddr#prefix as it's not available on older rubies 2019-03-22 16:42:30 -07:00
Brian Cain d9f3f88ff0
Update CHANGELOG 2019-03-22 16:31:20 -07:00
Brian Cain 53c11d9b55
Merge pull request #10748 from briancain/fix-ui-prefix-typo
Fix typo in UI Prefix for trigger UI
2019-03-22 16:30:38 -07:00
Chris Roberts 8ba69e587c Update guest capabilities for coreos 2019-03-22 15:20:37 -07:00
Brian Cain 9d200bdb72
Add note about specific create and connect flag options for Vagrant 2019-03-22 13:50:13 -07:00
Brian Cain 979dd37e46
Remove comment about private networks only working with docker provider 2019-03-22 10:10:44 -07:00
Brian Cain f8744b66f0
Add connect cli argument tests 2019-03-22 09:24:26 -07:00
Brian Cain 4f80a9e6d5
Add test for requesting public ip range for docker network provider 2019-03-22 09:02:40 -07:00
Brian Cain 36f2aaf55e
Add test for public network gateway request 2019-03-22 08:45:14 -07:00
Brian Cain b56f89775d
Add more mocks for public network
Ensure test values are used rather than real values from machine
2019-03-22 08:24:22 -07:00