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
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
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
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
Chris Roberts
a088fbba39
Properly wait for reboot process to start
...
This adds a check to the `#wait_for_reboot` method on the linux
guest reboot capability to determine if the a reboot is still
in process. This prevents the reboot process from being initiated
and the `#ready?` check on the guest being called before the
system shutdown process has shutdown the communicator process.
2021-04-13 16:42:31 -07:00
Chris Roberts
c5664e479e
Fix matching on build output for docker provider
2021-04-13 13:23:43 -07:00
Sophia Castellarin
dfc8cab1cc
Merge pull request #12281 from soapy1/smb-mount-name
...
Get folder mount name
2021-04-13 13:57:37 -05:00
sophia
82dde55e64
Get folder mount name
2021-04-06 16:25:08 -05:00
sophia
97e4fd2551
Import guest detection module
2021-04-05 16:34:56 -05:00
Chris Roberts
cf51c18ad8
Update authentication middleware access token handling
...
Replace the `VAGRANT_ALLOW_PARAM_AUTH_TOKEN` environment variable
with `VAGRANT_SERVER_ACCESS_TOKEN_BY_URL` and update the behavior
when the environment variable is set to add the access token as
a query parameter and disable the addition of the authentication
header.
Fixes #12080
2021-03-24 17:24:47 -07:00
Chris Roberts
fd4da92245
Check file size prior to upload and automatically adjust options
...
When uploading box file, check if the size is greater than
5GB. If the size is larger and the direct to storage option
is enabled, disable the option due to current 5GB restriction
on direct uploads.
2021-03-23 15:11:32 -07:00
Chris Roberts
60323fdd6c
Merge pull request #12235 from chrisroberts/api-notify-ups
...
Prevent notification on default store, fix client end point
2021-03-17 13:57:47 -07:00
Chris Roberts
16e91e4ba2
Do not convert value to allow nil value to pass through
2021-03-17 13:08:43 -07:00
Chris Roberts
d580fbbee2
Use the server url helper method within the client
...
Some client setup locations where not using the custom helper
method for the vagrant server URL value so they have been
updated. The api path is also appended if it is not set for
custom server URLs
2021-03-15 17:17:10 -07:00
Chris Roberts
867d65b079
Remove access token parameter if found on URL
2021-03-15 15:17:48 -07:00
Chris Roberts
51382a0d0a
Deprecate hook and disable access token parameter by default
...
This sets the `authenticate_box_url` hook as deprecated and also
disables the cloud auth middleware from adding an access token
as a URL parameter by default. An environment variable has been
added which can be used for re-enabling the access token URL
parameter behavior if required for some legacy system which does
not support the authorization header.
2021-03-15 14:46:46 -07:00
Rui Lopes
cc9ddc084c
fix the hyperv guest ip detection by limiting the search to the vagrant management network interface (the first network interface of the vm)
2021-03-13 11:20:00 +00:00
sophia
fad1819cb0
Detect fedora using os-releases id
...
OS releases was added to fedora in Feb 2012
c6a541628f
and released into both F17 and F18: https://bugzilla.redhat.com/show_bug.cgi?id=733117
Those have both been EOL'ed since 2014
2021-03-11 11:50:43 -06:00
Sophia Castellarin
33586066f9
Merge pull request #12201 from kpy3/main
...
FreeBSD updated ansible to py37-ansible
2021-03-08 16:33:39 -06:00
Sophia Castellarin
0c653a3d4f
Merge pull request #12211 from soapy1/get-default-dhcp-ip
...
Get default dhcp ip from a matching host ip
2021-03-08 13:57:46 -06:00
Sophia Castellarin
ade9ecdde7
Merge pull request #12186 from soapy1/vagrant-destroy-exit-code
...
Don't count not created machines as declined when destroying
2021-03-08 13:54:03 -06:00
sophia
5d3c37126f
Get default dhcp ip from a matching host ip
2021-02-24 15:53:27 -06:00
Sophia Castellarin
6f1ab0ed5e
Merge pull request #12181 from soapy1/alpine-configure-networks
...
Check if interface exists before shutting it down
2021-02-23 13:21:19 -06:00
sophia
a2fdbc5625
Don't count not created machines as declined when destroying
2021-02-22 16:14:16 -06:00
Sergey Yelin
e95a7f3e8a
FreeBSD updated ansible to py37-ansible
2021-02-20 18:35:07 +03:00
sophia
b30a87ce6c
Extract os friendly mount name for vbox shared folders
2021-02-10 15:25:56 -06:00
sophia
b24d4252c5
Check if interface exists before shutting it down
2021-02-10 10:44:36 -06:00
Max Arnold
9f1c13d28c
Modernize Salt bootstrap script
2021-01-07 17:07:20 +07:00
Max Arnold
e0211ebeb1
Use saltproject.io domain instead of saltstack.com
2021-01-07 02:13:19 +07:00
Max Arnold
f412672b24
Download upstream Salt bootstrap script into the same temp directory
2021-01-06 21:56:57 +07:00
Max Arnold
5a30570b9a
Always use upstream Salt bootstrap script on Windows
2021-01-04 10:49:07 +07:00
Sophia Castellarin
a8363db300
Merge pull request #11791 from jbonhag/e/guest-openwrt
...
Guest support for OpenWrt
2020-12-22 15:05:48 -06:00
sophia
fffe6ea4a5
Add darwin version cap
2020-11-17 19:21:21 -06:00
sophia
8eea6a2301
Mount vmware synced folders for big sur guests
2020-11-17 19:21:21 -06:00