Commit Graph

11549 Commits

Author SHA1 Message Date
Chris Roberts 22119e157b Update CHANGELOG 2018-10-25 09:02:24 -07:00
Chris Roberts 58e6cbb01d
Merge pull request #10332 from chrisroberts/e-hyperv-pwsh-vr
Prevent exception from raising on hyper-v check
2018-10-25 09:01:26 -07:00
Chris Roberts ca81f9d6cb Prevent exception from raising on hyper-v check 2018-10-24 17:06:47 -07:00
Brian Cain ed310a954b
Update CHANGELOG 2018-10-24 16:20:39 -07:00
Brian Cain 580bcaebb0
Merge pull request #10311 from briancain/DOCKER-VM-FOLDER-MOUNT
Deterministic host VM synced folder location for Docker provider
2018-10-24 16:19:41 -07:00
Brian Cain 1f9cec0fba
Update CHANGELOG 2018-10-24 15:58:36 -07:00
Brian Cain f524a191e1
Merge pull request #10330 from briancain/fall-back-on-ifdown-ifup-tools-hostname
Reliably restart Debian and Ubuntu guests networking on setting hostname
2018-10-24 15:53:11 -07:00
Brian Cain a1bb7b837a
Use semicolon over ampersand to separate commands 2018-10-24 15:27:33 -07:00
Brian Cain e8c6916ebc
Restart each interface if systemd-networkd or networkmanager is not used
This commit is a workaround due to how older debian and ubuntu systems
fail to properly restart networking. Instead of relying on the init
scripts or ifup/down tools to restart each interface, this commit
instead restarts each interface individually
2018-10-24 11:34:38 -07:00
Brian Cain 1761e65f26
Fixes #9763 #10300: Fall back on ifdown/ifup tools for network restart
This commit adds some additional logic that falls back to using the
ifdown/ifup tools to restart networking. On Ubuntu 14.04, the init
script was designed to always fail to restart newtorking, so it needs
to use the ifdown/up tools instead. This commit will use the networking
init script as a last resort to restart networking, assuming other
commands haven't broken networking already.

https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1301015
2018-10-23 14:47:12 -07:00
Brian Cain 6b34f3655a
Update CHANGELOG 2018-10-23 09:25:33 -07:00
Brian Cain 238a46299b
Merge pull request #10326 from briancain/add-automount-vbox
Fixes #10016: Add `automount` flag if specified with synced_folder
2018-10-23 09:24:49 -07:00
Brian Cain 7c06950e43
Ensure true or false for automount option 2018-10-23 09:00:55 -07:00
Brian Cain 6d0dfb2690
Fixes #10016: Add `automount` flag if specified with synced_folder
This commit adds a new option to virtualbox synced_folders called
`automount`, where if set to true, will supply the `--automount` flag to
virtualbox.
2018-10-22 15:45:32 -07:00
Chris Roberts 5ac79d2821 Update CHANGELOG 2018-10-19 16:00:39 -07:00
Chris Roberts b0fc33e9b7
Merge pull request #10321 from chrisroberts/f-ssh-comm-output
Prevent overly verbose output from SSH communicator
2018-10-19 15:59:01 -07:00
Chris Roberts 8562daf85e Prevent overly verbose output from SSH communicator
If the type of error changes on retry the messages will effectively
spam the user display with alternating messages. Log each message
sent and only re-display each message once within 10 seconds.
2018-10-19 15:18:03 -07:00
Brian Cain 5f5d874997
Update CHANGELOG 2018-10-19 14:11:06 -07:00
Brian Cain 9fab454bd5
Merge pull request #10319 from briancain/username-prompt-smb
Fixes #9591: Allow for 'default' smb_username if set
2018-10-19 14:09:48 -07:00
Brian Cain 65651178cd
Fixes #9591: Allow for 'default' smb_username if set
Prior to this commit, Vagrant would prompt for smb username and password
every time, even if only smb_username was defined. This commit changes
that by allowing a "default" username from the Vagrantfile, with the
option of overriding it.
2018-10-19 13:26:18 -07:00
Brian Cain 28c4940969
Update CHANGELOG 2018-10-18 09:02:52 -07:00
Brian Cain e54c9b22ef
Merge pull request #10301 from briancain/debian-fixup-hostname-change
Fixes #9763, #10300: Split out how hostname is set with Debian hosts
2018-10-18 08:57:29 -07:00
Brian Cain a1fa319f7e
Merge pull request #10315 from briancain/update-ruby-again
Bump ruby to 2.5.3
2018-10-18 08:49:32 -07:00
Brian Cain 4489b80931
Bump ruby to 2.5.3 2018-10-18 08:17:02 -07:00
Brian Cain 94bb50fa7e
Add test for syncing folders with docker provider 2018-10-17 14:14:27 -07:00
Brian Cain 52c04909d5
Merge pull request #10310 from briancain/update-ruby-for-travis
Update ruby to latest for travis tests
2018-10-17 12:42:42 -07:00
Brian Cain 31fabc94f7
Update ruby to latest for travis tests 2018-10-17 12:27:20 -07:00
Martin Jonas 238338d803
Deterministic host VM synced folder location for Docker provider to prevent broken sync after host VM shutdown
Fix for #10282
2018-10-17 11:28:24 -07:00
Brian Cain 2ce62cad65
Merge pull request #10308 from 5uper5hoot/patch-1
Small typo fix
2018-10-17 08:19:24 -07:00
Peter Schutt 78c7549b1b
Small typo fix 2018-10-17 22:12:27 +10:00
Chris Roberts ae7d2bed9d Update version for dev 2018-10-16 15:45:30 -07:00
Chris Roberts 6e37e49708 Update website version 2.2.0 2018-10-16 15:42:23 -07:00
Chris Roberts 9c835d823f Release v2.2.0 2018-10-16 15:39:34 -07:00
Brian Cain f20ab1ab39
Update CHANGELOG 2018-10-16 15:20:35 -07:00
Brian Cain 23de7f0898
Merge pull request #10148 from briancain/add-cloud-command
Introduce `vagrant cloud` subcommand to Vagrant
2018-10-16 15:19:58 -07:00
Brian Cain 15fb2b729d
Remove #Hash.compact for ruby 2.3 compatibility 2018-10-16 14:41:31 -07:00
Chris Roberts e595403419
Merge pull request #10304 from chrisroberts/f-hyperv-config
Add missing hyperv provider configuration option
2018-10-16 14:19:53 -07:00
Chris Roberts 2b157fc9be Add missing hyperv provider configuration option 2018-10-16 13:47:32 -07:00
Brian Cain 6443fe7109
Merge pull request #10302 from nqb/patch-1
Add details and fix typo for run: "never" option
2018-10-16 13:23:34 -07:00
Nicolas Quiniou-Briand 8293b763bd
Add details and fix typo for run: "never" 2018-10-16 15:36:40 -04:00
Brian Cain 0c5d55e69c
Fixes #9763, #10300: Split out how hostname is set with Debian hosts
Prior to this commit, the hostname was set with one big bash script and
attempted to determine what tools are available. This commit changes
that by splitting out that tool check on the Vagrant side of things with
the GuestInspection class, and adds back restarting networking to get a
DHCP lease with the change rather than using `dhclient`. This pattern
matches how hostnames are set in the redhat capability.
2018-10-16 12:00:25 -07:00
Brian Cain b92b1ba0bb
Add `cloud` command to bash completion 2018-10-12 09:49:49 -07:00
Brian Cain b1b829f69d
Fix missing `end` in errors class 2018-10-12 09:16:36 -07:00
Brian Cain 5225b48e00
Fixup cloud cli website documentation 2018-10-12 09:07:12 -07:00
Brian Cain 42c01f241c
Mark password as sensitive in logs 2018-10-12 09:07:12 -07:00
Brian Cain f1bae9f1eb
Remove level conditional for RestClient logging 2018-10-12 09:07:12 -07:00
Brian Cain adefbbaf6e
Scrub Vagrant Cloud tokens from RestClient logger 2018-10-12 09:07:12 -07:00
Brian Cain e8115a4389
Update based on second round of feedback 2018-10-12 09:07:12 -07:00
Brian Cain d8ec19faa8
Fixup: Update vagrant cloud command PR with feedback 2018-10-12 09:07:12 -07:00
Brian Cain e67dac0dbb
Alias `vagrant login` command 2018-10-12 09:07:12 -07:00