Commit Graph

11688 Commits

Author SHA1 Message Date
Chris Roberts 247f17c279 Update CHANGELOG 2018-11-05 12:50:05 -08:00
Chris Roberts d2d117471a
Merge pull request #10359 from chrisroberts/e-check-limits
Limit automatic box outdated checks to once per hour
2018-11-05 12:46:56 -08:00
Brian Cain b951c0e781
Move login command warning
This commit moves where the warning is for the login command so that it
only displays when the command is invoked, and not when the plugin is
loaded.
2018-11-05 11:24:09 -08:00
Brian Cain 0188d409d4
Add test for windows reboot cap 2018-11-02 16:34:57 -07:00
Brian Cain 377b900277
Only execute reboot check if guest communicator is ready 2018-11-02 16:33:36 -07:00
Chris Roberts 6b7063ef05 Update CHANGELOG 2018-11-02 15:26:09 -07:00
Brian Cain 142a6898bc
Add reboot cap for windows
This commit introduces a proper reboot cap for Windows guests. Once it
initiates a reboot on the guest, it calls out to the wait_for_reboot cap
to block on until the guest is finished rebooting.
2018-11-02 15:25:57 -07:00
Chris Roberts be6f683009
Merge pull request #7699 from legal90/refactor-network
provider/virtualbox: Refactor host-only network settings
2018-11-02 15:25:09 -07:00
Brian Cain 5ebb4cced5
Merge pull request #10361 from johnyserpa/patch-1
fix broken link to token
2018-11-02 15:18:23 -07:00
Chris Roberts 5add5c24fe Show formatted error message with address and netmask 2018-11-02 15:03:22 -07:00
Mikhail Zholobov d9d081199c
action/network: Validate IP settings, show human-readable error 2018-11-02 22:29:19 +01:00
Mikhail Zholobov a02aaa3195
action/network: Refactor the calculation of host-only adapter IP and DHCP settings 2018-11-02 22:28:49 +01:00
Chris Roberts c2cedc98c2 Update CHANGELOG 2018-11-02 14:10:40 -07:00
Brian Cain 007bf991d5
using vagrantcloud.com instead of app.vagrant.com
Co-Authored-By: johnyserpa <joao.serpapinto@gmail.com>
2018-11-02 21:10:24 +00:00
Chris Roberts d293e5dc08
Merge pull request #7693 from legal90/network_address
util/network_ip: Simplify #network_address helper
2018-11-02 14:08:49 -07:00
Chris Roberts 648be1369f Fallback to Vagrantfile configuration when local metadata lookup fails
The project local metadata file may contain invalid information to properly
lookup the configured box. This may occur if the file has been moved,
modified, or the backing box has been removed. In those cases, fall back
to the configuration defined in the Vagrantfile to load the box.
2018-11-02 13:59:53 -07:00
Chris Roberts 1ece44ca84 Remove module loading from vlan script 2018-11-02 10:42:28 -07:00
Chris Roberts 04579e0ac7 Add support for ed25519 keys
The net-ssh library supports ed25519 keys but only if the required
dependencies are available. This adds the required dependencies.
2018-11-02 09:24:50 -07:00
Brian Cain 54c8ebc31a
Fixes #10229: Add timeout for changing hostname on windows
Prior to this commit, if Windows was slow to reboot, Vagrant would fail
to find the right IP address to upload the wait_for_reboot script to.
This commit fixes this race condition by adding a timeout to ensure that
Vagrant can retry. It also properly catches an exception in the winrm
ready? method for checking if a guest is properly ready for
communications.
2018-11-02 09:23:00 -07:00
Chris Roberts 3daf3e532d Update ordering of gem sources to ensure proper resolution
In recent Rubies the first dependency to satisfy the constraint will
be used regardless if higher versions are available in subsequent
sources. Move custom source to start of list when resolving plugins
to provide desired behavior.
2018-11-02 09:14:27 -07:00
Johny Serpa eba487a345
fix broken link to token
Link to generate token is broken. Fixed it.
2018-11-01 19:57:34 +00:00
Brian Cain 872c3c957d
Merge pull request #10357 from briancain/add-note-about-install-type-salt
Add note about install_type for version
2018-11-01 10:04:04 -07:00
Chris Roberts 976320ec06 Limit automatic box outdated checks to once per hour 2018-11-01 09:45:11 -07:00
Brian Cain 0dd3f57e81
Merge pull request #10346 from hashicorp/f-updateVMWareDocsBox
Update vmware_desktop in boxes.html.md
2018-11-01 09:39:25 -07:00
Brian Cain 1a0b014ef7
Add note about install_type for version 2018-11-01 08:51:04 -07:00
Brian Cain a25caf1d92
Merge pull request #10355 from briancain/update-salt-version-docs
Update salt provisioner docs
2018-10-31 12:58:40 -07:00
Brian Cain 8a07e731af
Update salt provisioner docs 2018-10-31 11:31:50 -07:00
Brian Cain 6f2ce24325
Update CHANGELOG 2018-10-31 09:09:20 -07:00
Brian Cain 338827e382
Merge pull request #10351 from briancain/ignore-provider-config-on-validate
Fixes #10224: Allow validation of config while ignoring provider
2018-10-31 09:08:34 -07:00
Brian Cain 6051f3598e
Fixes #10224: Allow validation of config while ignoring provider
This commit adds a new flag to the `vagrant validate` command which
allows users to completely ignore the provider block of a config file.
This is useful for when you are running `vagrant validate` in CI and
don't want to install a valid provider to check the syntax of your
Vagratnfile. When the flag is invoked, a warning will be displayed
saying that the provider block will be ignored and not validated.
2018-10-30 13:37:22 -07:00
Alvaro Miranda Aguilera 93fc675ad5
Update boxes.html.md 2018-10-29 19:26:34 +01:00
Brian Cain 716a5f1501
Merge pull request #10343 from glenvillef/glenvillef
Grammar corrections on web pages
2018-10-29 08:45:57 -07:00
Chris Roberts df874adf69
Merge pull request #10341 from chrisroberts/e-docs-update
Update vagrantfile documentation content to use list
2018-10-29 08:29:44 -07:00
Mikhail Zholobov 74de13cae5
util/network_ip: Simplify #network_address helper
Allow to use IPv6 net masks in string notation.
2018-10-28 21:17:43 +01:00
Glenville Fanoo (ZA) cdc0e1c11c
Grammer: corrected 2018-10-27 12:53:02 +02:00
Glenville Fanoo (ZA) e4a7b932fc
Grammer: corrected 2018-10-27 09:38:13 +02:00
Chris Roberts 7a725d7424 Update vmware utility version for website 2018-10-26 17:06:57 -07:00
Chris Roberts 32dbb6185a Update vagrantfile documentation content to use list 2018-10-26 15:32:51 -07:00
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