4748 Commits

Author SHA1 Message Date
sophia
773c4bd910
Return an ActionResp 2022-04-25 12:23:52 -05:00
sophia
41f3af51af
Return a result from an up action 2022-04-25 12:23:51 -05:00
sophia
e56013a6b4
Slightly better log location 2022-04-25 12:23:51 -05:00
sophia
a25381b03a
Get the associated requested provider 2022-04-25 12:23:51 -05:00
sophia
7a612698a5
Transform a machine arg to an instance of Vagrant::Machine 2022-04-25 12:23:51 -05:00
sophia
a806a47a1a
Decode incoming machine arg 2022-04-25 12:23:51 -05:00
sophia
a11f5a4dbf
Move proto files into more globally accessible spot 2022-04-25 12:23:51 -05:00
sophia
82e3dd55ad
Setup machine client 2022-04-25 12:23:51 -05:00
sophia
fdcae6e13a
Get a machine instance for action up 2022-04-25 12:23:51 -05:00
sophia
7438d2d7e7
Get to run action up 2022-04-25 12:23:51 -05:00
sophia
6d397a072d
Add provider service 2022-04-25 12:23:51 -05:00
sophia
8cccefb8aa
Add plugin protos 2022-04-25 12:23:51 -05:00
sophia
244bb335c8
Get all plugins 2022-04-25 12:23:50 -05:00
sophia
5a92ba0186
Return list of plugins 2022-04-25 12:23:50 -05:00
sophia
cd04e4385f
Return list of installed plugins 2022-04-25 12:23:50 -05:00
sophia
c02baa9219
Start server as vagrant command 2022-04-25 12:23:50 -05:00
Paul Hinze
d03a058e04
Fix VAGRANT_CWD handling in vagrant push ftp
When testing all of the push functionality I ran into the fact that the
FTP upload code did not recognize that I had VAGRANT_CWD set, so it
wasn't finding the right files to upload.

This should make everything work properly relative to that location.
2022-01-06 18:09:30 -06:00
Paul Cacheux
2bc1e2927b Fix missing VagrantPlugins::HostDarwin::Cap::Version on Big Sur 2021-11-08 16:22:12 +01:00
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