5476 Commits

Author SHA1 Message Date
sophia
2e7116cfc3 Log ignoring of EnhancedSessionTransportType for debugging 2023-02-14 15:49:47 -08:00
RudiMT
431d91593a Output message in json
Would limit new console output to systems that do not already support EnhancedSessionTransportType. The vast majority of systems supports it and should not print additional messages.
2023-02-14 15:49:46 -08:00
RudiMT
ba562f273b Add check if EnhancedSessionTransportType is supported by the current version of HyperV 2023-02-14 15:49:46 -08:00
RudiMT
e14aa1e430 Formatting as in main 2023-02-14 15:49:46 -08:00
RudiMT
0867fbd9d8 Add check if EnhancedSessionTransportType is supported by the current version of HyperV 2023-02-14 15:49:46 -08:00
Sophia Castellarin
3022ef59fa
Merge pull request #13066 from soapy1/rsync-regex
Process rsync exclude regex less
2023-02-08 12:38:02 -08:00
Sophia Castellarin
1a5dea169e
Merge pull request #13069 from soapy1/ssh-keep-alive
Use netssh builtin keep alive functionality
2023-02-07 09:16:38 -08:00
sophia
b4925261fa Use netssh builtin keep alive functionality 2023-01-23 16:48:57 -08:00
sophia
0939af9a76 Process rsync exclude regex less
This change will prepend "^" and append "/" if a start anchor is
detected in the regex string. This allows users to specify
relative paths to exclude.

It also removes replacing occurences of "*" with "[^/]*". "*"
already expresses itself accurately.
2023-01-19 16:38:28 -08:00
sophia
28574348b9 Read only machine port forward info
In the VM config file port forward information is captured in the
Snapshot defition as well as the VM definition. This causes duplicates
in port forward entries if the file is queried for all available
network adapters. Querying the VM config file for the the Network
Adapters only part of the Machine definition resolves this and
yields the most up to date port forward info.
2023-01-12 12:02:00 -08:00
Chris Roberts
516ac4b0ab Set address type when not provided
When an address is provided and the type has not been explicitly
provided, parse the address and automatically set the type.
2022-12-09 13:22:37 -08:00
Chris Roberts
fd72ea592a
Merge pull request #13017 from msltwtf/ansible-local-package-install
Add workaround for Debian 10 and older
2022-12-09 09:23:44 -08:00
Chris Roberts
ca7c05f09d Fix ansible install for older distributions
Before installing dependencies run a check for the python-dev-is-python3
package and only install it if found (otherwise use python-dev). This
allows older versions of debian (and derivatives) to properly install
the defined dependencies.
2022-12-08 17:10:00 -08:00
Chris Roberts
10efa98184
Merge pull request #13022 from chrisroberts/macos-isolated-load
Isolate loading dependencies for serve command
2022-12-08 12:54:52 -08:00
Chris Roberts
2eb393aaee
Merge pull request #13004 from chrisroberts/vbox-hostnet-dhcp
VirtualBox hostnet addressing
2022-12-08 11:33:05 -08:00
Chris Roberts
5cbf66b93c Update log output to warn 2022-12-08 11:14:46 -08:00
Chris Roberts
1cd6ac3b31 Isolate loading dependencies for serve command
Only load the dependencies needed for the serve command if the serve
command is being run. This allows Vagrant to properly load on platforms
where some of the dependency libraries may not be available due to
incompatibilities or being EOL.
2022-12-07 15:35:00 -08:00
Marius Leonhardt
6fb60c9aea
Add workaround for Debian 10 and older
If `lsb_release -rs` returns a value greater than 10 the package `python-dev-is-python3` will be installed. If it is equal or less than 10 the package will not be installed.
2022-12-05 16:30:05 +01:00
Chris Roberts
2696c3d74d Import the security module for access check
The 7.3.0 release of powershell cleaned up some stray things that
should require the import of the security module to be available.
It causes issues with pre-7.3 versions of powershell that attempt
to load the newer module so we run a check and restrict the module
version based on the powershell version.
2022-11-22 11:05:18 -08:00
Chris Roberts
32aef6c48c Rescue address errors and adjust host address
Rescue any address errors logging them and ignoring the address. Update
how the host address is determined based on the network configuration.
Host address will be either the lowest address assignable via dhcp
configuration or first address available within the configured subnet.
2022-11-21 14:07:29 -08:00
Chris Roberts
8549450cff
Merge pull request #12994 from chrisroberts/vbox-locale
Force LANG when executing commands
2022-11-14 13:27:48 -08:00
Chris Roberts
d8de3016ea
Merge pull request #12992 from chrisroberts/vbox-networks-nfs
VirtualBox read networks support with hostonlynets
2022-11-14 12:14:03 -08:00
Chris Roberts
f7e5a9d199 Force LANG when executing commands
This forces the LANG enviroment variable to be set to `"C"` when
executing VBoxManage commands. Doing this prevents localization of
output which causes failures of the VirtualBox driver when scanning
for information.
2022-11-14 10:45:47 -08:00
Chris Roberts
9e4047533d Customize #read_network_interfaces for hostonlynetworks
Adds an override for the #read_network_interfaces when hostonlynetworks
are in use to properly identify the hostonly network information from
the guest. This also adjusts the IP provided for the network to be
the first in the subnet.
2022-11-14 10:45:33 -08:00
Chris Roberts
cbddfbd028 Handle missing machine folder value
If the value of the machine folder can not be found in the
system properties, report a user friendly error message and
include relevant information in the logs for debugging.
2022-11-14 10:45:10 -08:00
Chris Roberts
45f5043508 Check for extra arguments in ssh info before appending 2022-11-08 16:48:57 -08:00
Benoît Peccatte
139893603f Fix sync_folder type rsync ignores ssh extra_args 2022-11-08 16:35:35 -08:00
Chris Roberts
0209cd21f9
Merge pull request #12832 from teh-syntax/main
Fixed issue provisioning ubuntu 22.04 python-dev has no install candidate
2022-11-08 15:25:22 -08:00
Chris Roberts
1dd008d65e
Merge pull request #12740 from rbrunckhorst/solaris-sed-fix
Fix sed command on Solaris guest
2022-11-08 15:09:08 -08:00
Chris Roberts
c75e05d4b1
Merge pull request #12913 from nist/File.exists
Replace deprecated File.exists? with File.exist?.
2022-11-08 15:07:21 -08:00
Chris Roberts
915283c685
Merge pull request #12989 from dcode/main
Fixes namespace of Google to global space
2022-11-08 14:56:43 -08:00
Derek Ditch
f581778c2c Fixes Google namespace resolution to global space 2022-11-08 08:50:01 -06:00
Chris Roberts
c0c4b80dcb Pass all options to host only network creation 2022-11-03 17:20:54 -07:00
Chris Roberts
c8a71882d3 Disable hostonly ip validation for vbox 7 on darwin 2022-11-03 17:18:10 -07:00
Chris Roberts
3604bacc19 Update virtualbox driver for hostonlynets support 2022-11-03 17:18:10 -07:00
Chris Roberts
60ec1943ea Fix file formatting 2022-11-03 11:55:50 -07:00
Chris Roberts
e7e1badbdc Add support for VirtualBox 7.0 2022-10-14 15:58:00 -07:00
Chris Roberts
716694e7b8
Merge pull request #12910 from chrisroberts/sudoers
Update NFS exports usage
2022-09-22 11:41:28 -07:00
Nicolas St-Laurent
6f9f88e055 Replace deprecated File.exists? with File.exist?. 2022-09-22 08:54:46 -04:00
sophia
9b48684226 Ensure last line from extracting the SSH_AUTH_SOCK is not nil 2022-09-21 15:25:44 -04:00
Chris Roberts
b21e4b0602 Use static file path when creating new exports file 2022-09-21 10:35:55 -07:00
sophia
49280286ad Strip new lines from error details
The error details message should just be one string without spacing
so the terminal can set a output length. This will allow messages
from Ruby and Go errors to have similar formating.
2022-09-19 15:14:42 -04:00
sophia
add66c4c2a Include message in rpc status error from ruby 2022-09-19 15:14:42 -04:00
sophia
6d4f769c87 Validate provider 2022-09-19 15:14:42 -04:00
sophia
f7cd08b208 Pass terminal output color option from Ruby to terminal plugin 2022-09-14 11:42:52 -04:00
sophia
1e39161a7b Ensure candidate ips are available when determining mount name 2022-09-02 10:42:27 -05:00
sophia
8bdb5e797d Pass in echo/secret ui input setting 2022-08-30 15:18:21 -05:00
Robert McMahon
3f2d648691 Fixed issue provisioning ubuntu 22.04 python-dev has no install candidate 2022-08-06 20:24:17 -04:00
Sophia Castellarin
aee8d7b96e
Merge pull request #12785 from dustymabe/dusty-el9
Enhancements for EL guests capabilities
2022-08-01 12:10:40 -05:00
Paul Hinze
6f44de5076
Merge pull request #12813 from sni/patch-1
Update nfs_client.rb for rocky 9
2022-07-29 11:12:47 -05:00