Chris Roberts
66b39d45f4
Merge pull request #12575 from chrisroberts/fix-coreos
...
Fix coreos network configuration
2021-11-05 10:39:26 -07:00
Chris Roberts
cae807fcf0
Configure each device individually to prevent orphan connections
2021-11-04 15:51:08 -07:00
Chris Roberts
8062242f7f
Ignore errors when removing existing configurations
2021-11-04 15:26:34 -07:00
Chris Roberts
f9d1025688
Merge pull request #11880 from elastio/bug/11878-rsync-fails-on-windows
...
[WIP] Change `mkdir` command on Windows for rsync
2021-11-04 15:03:20 -07:00
Chris Roberts
657b2a39d9
Fix network configuration for coreos guests
2021-11-04 14:53:22 -07:00
Chris Roberts
45cb26348e
Update atomic detection to prevent overlap with other guests
2021-11-04 14:52:52 -07:00
Chris Roberts
69ddf98607
Merge pull request #12570 from chrisroberts/darwin-nfs
...
Fix NFS host paths on darwin
2021-11-03 11:06:27 -07:00
Chris Roberts
ac92fd8e1d
Access provider driver through machine for version check
...
Updates the VirtualBox version check for network range validation
to access the driver via the machine instances provider within the
passed env.
2021-11-03 09:32:41 -07:00
Chris Roberts
5f0e5652b1
Only resolve path with firmlink prefix on Catalina
2021-11-02 16:44:06 -07:00
Chris Roberts
6810c7b4bb
Add version capability to darwin host plugin
2021-11-02 16:43:26 -07:00
Chris Roberts
1cff8c7495
Pass values to exception and define exception message content
2021-11-02 16:42:11 -07:00
Chris Roberts
716f4c0717
Merge pull request #12564 from chrisroberts/vbox-hostonly-validat
...
Validate VirtualBox hostonly network range
2021-11-02 11:03:44 -07:00
Chris Roberts
48d8cfbbd5
Merge pull request #12555 from collinmcneese/cm/chef_detect
...
Updates install checks for Chef provisioners
2021-11-02 10:58:46 -07:00
Chris Roberts
2f9a0ac253
Adjust default range
2021-10-29 09:43:47 -07:00
Chris Roberts
b23095eac5
Remove freeze on version to resolve comparison
2021-10-29 08:47:43 -07:00
Chris Roberts
ae7639ec23
Validate VirtualBox hostonly network range
...
VirtualBox introduced a restriction on the valid range for hostonly
networks. When using a version of VirtualBox which includes this
restriction a check is performed on the defined IP address to validate
it is within either the default range (as defined in the VirtualBox
documentation) or the values defined in the network configuration
file.
2021-10-28 17:12:15 -07:00
Collin McNeese
0085124cd8
Updates chef_installed variable names to be more functional
...
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-10-24 12:32:37 -05:00
Collin McNeese
692cb1ae34
Updates install checks for Chef provisioners
...
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-10-24 11:38:59 -05:00
Ikko Ashimine
3ccbb3d24b
Fix typo in command.rb
...
separater -> separator
2021-09-15 02:20:26 +09:00
Chris Roberts
406c4737ec
Merge pull request #12398 from pszlazak/patch-1
...
Escape spaces in SSH key_path
2021-08-13 15:52:31 -07:00
Dan Čermák
c4ced5459d
Add fallback for SLE 11 guest machines
...
SLE 11 does not ship systemd and then using systemctl poweroff does not
work. Therefore we fall back to using /sbin/shutdown for machines without
systemd.
This fixes https://github.com/hashicorp/vagrant/issues/12487
2021-08-06 12:55:32 +02:00
Chris Roberts
a02b9b6b2f
Use detected device when iterating over available addresses
2021-07-27 08:07:39 -07:00
Chris Roberts
84d3a5fe47
Update compose tests to pass fully through Util::Subprocess
2021-07-12 09:54:56 -07:00
sophia
04977677f1
Pass in docker command opts as a map
2021-07-08 12:15:06 -05:00
Chris Roberts
a8c5980afb
Add Rocky Linux guest support
2021-07-02 15:32:48 -07:00
Dan Čermák
8ce38a639b
Use systemctl poweroff in the background instead of shutdown
...
We have started seeing occasional shutdown failures on openSUSE Tumbleweed with
Virtualbox inside a qemu virtual machine, where `shutdown -h now` would return
nil. While the machine is successfully turned off, the command fails and vagrant
reports an error.
This commit changes the shutdown command to launch in the background which
also triggers a shutdown, but always succeeds.
2021-07-01 09:31:50 +02:00
Chris Roberts
bbd1404c1e
Merge pull request #12437 from chrisroberts/line-buf-shell-util
...
Line buffer utility and shell provisioner usage
2021-06-29 13:11:19 -07:00
Chris Roberts
32757d56e1
Merge pull request #12304 from grahamhub/issue-12191
...
implement --info flag for package cmd #12191
2021-06-29 13:07:47 -07:00
Chris Roberts
de8da71c41
Merge pull request #12431 from chrisroberts/ui-tests
...
Update tests to use real UI instance
2021-06-29 12:47:26 -07:00
Chris Roberts
b1ae4d88fb
Update shell provisioner usage of line buffer
2021-06-29 11:04:14 -07:00
Sophia Castellarin
5349a4941d
Merge pull request #12428 from soapy1/check-win-credentials
...
Check Domain and Application Directory contexts for credentials when validating SMB creds
2021-06-28 10:08:32 -05:00
Rui Lopes
ef18b45786
ensure that the shell provisioner only emits complete output lines to the ui
...
partial lines are buffered until they are complete (have a line ending)
see https://github.com/hashicorp/vagrant/issues/11047
2021-06-25 15:58:24 -07:00
Chris Roberts
1148658a53
Remove loops since only single device is desired
2021-06-25 15:16:56 -07:00
Chris Roberts
cb23f71e25
Merge pull request #12232 from rgl/fix-hyperv-guest-ip-detection
...
fix the hyperv guest ip detection by limiting the search to the vagra…
2021-06-25 15:15:49 -07:00
Sophia Castellarin
ca686e3192
Merge pull request #12413 from max-arnold/salt-bootstrap-win-fix
...
Use more conservative TLS settings to work on older .NET versions
2021-06-24 10:09:10 -05:00
Chris Roberts
3d0d0148e9
Update tests to use real UI instance
...
Replaces use of UI doubles within tests to use actual UI instance
to ensure calls are passing parameters correctly.
2021-06-23 14:04:48 -07:00
Chris Roberts
eae6c1d022
Merge pull request #12419 from chrisroberts/fix-local-box-add
...
Fix local box add with relative path on Windows
2021-06-22 15:45:49 -07:00
sophia
5981f141e3
Check Domain and Application Directory contexts for credentials when validating SMB creds
2021-06-22 17:14:25 -05:00
Chris Roberts
e7a6f397da
Updates for Ruby 3.0
2021-06-21 15:57:46 -07:00
Sophia Castellarin
750c95272d
Merge pull request #12421 from soapy1/retry-networks-setup-debian
...
Retry network setup on debain
2021-06-21 09:11:50 -05:00
sophia
681253aed9
Retry network setup on debain
...
DAD (Duplicate Address Detection) check times out when we add IPv6 interfaces
2021-06-15 17:49:28 -05:00
sophia
fecfe86cb8
Strip whitespace from ansible version
...
Note: strip! returns nil if there is nothing to be stripped
2021-06-15 15:24:39 -05:00
Chris Roberts
218f8323fb
Return original when access token is not removed
...
When scrubbing box urls of access token parameters, only return
the processed URL if the access token was removed. If it was not
removed, return the original URL string. This prevents issues with
local file URLs being parsed and replaced with invalid paths.
Fixes : #12340 #12350 #12320
2021-06-11 16:59:35 -07:00
Max Arnold
0416180fb4
Use more conservative TLS settings to work on older .NET versions
2021-06-09 11:07:03 +07:00
pszlazak
ba2c195818
Escape spaces in SSH key_path
2021-05-27 14:34:15 +02:00
Philipp Panzer
89c071d374
detects new versions of ansible-4.0.0+
...
Ansible has switched dependency between version 3.4.0 (ansible-base) and 4.0.0 (ansible-core), which now outputs new version scheme of "ansible [core 2.11.0]" instead of "ansible 2.10.9".
This fix keeps old and new version detection working.
2021-05-25 13:28:22 +02:00
Sophia Castellarin
8d38ba1cdf
Merge pull request #12127 from max-arnold/salt-bootstrap-win
...
Always use upstream Salt bootstrap script on Windows
2021-05-24 16:49:51 -05:00
grahamhub
bfa73b06c6
cli: implement --info flag for package #12191
2021-04-15 00:28:41 -05:00
Chris Roberts
7271e02628
Merge pull request #12302 from chrisroberts/linux-reboot
...
Properly wait for reboot process to start
2021-04-14 15:35:35 -07:00
grahamhub
8ecf0fb0d8
specify correct dir for info.json #12191
2021-04-14 16:18:48 -05:00