1335 Commits

Author SHA1 Message Date
Chris Roberts
cd2d84fda7 Adjust synced folder collection class 2020-08-19 15:00:40 -05:00
sophia
2a8372a272 Add mount type cap 2020-08-19 15:00:40 -05:00
sophia
bc898e385d Update tests for synced folder typed hash 2020-08-19 15:00:40 -05:00
sophia
faad9f2717 Add tests 2020-08-19 15:00:40 -05:00
Chris Roberts
5003bb6e15 Updates to address all Ruby deprecations and warnings
This includes updates for resolving all warnings provided by Ruby
for deprecations and/or removed methods. It also enables support
for Ruby 2.7 in the specification constraint as all 2.7 related
warnings are resolved with this changeset.
2020-08-10 13:05:41 -07:00
Chris Roberts
786273c1ab
Merge pull request #11795 from LachlanArthur/smb-credential-check-2
Fix SMB credential checks
2020-08-07 15:17:58 -07:00
Sophia Castellarin
a2811909be
Merge pull request #11618 from jbonhag/fix/empty-box
Treat an empty box value as invalid
2020-08-07 11:18:33 -05:00
Sophia Castellarin
e3b0784272
Merge pull request #11704 from soapy1/change-host-name-cap-arch
Make alt + arch + atomic-host +debian + gentoo + slackware + pld + photon + rhel +suse guests respect hostname network config option
2020-08-07 10:58:05 -05:00
Sophia Castellarin
bedd141381
Merge pull request #11721 from jbonhag/f/ssh-nil-exit-status
Raise an error on nil exit status
2020-08-07 10:55:58 -05:00
cam
67fdc3855f HyperV - Adding ability to disable Enhanced session transport type 2020-08-06 16:04:21 -07:00
cam
f6875818dc Hyperv: moving session transport type config from string to boolean for enhanced mode aka HvSocker 2020-08-06 16:04:17 -07:00
cam
3dd7c89bf0 hyper-v: Hyper-V: add support for EnhancedSessionTransportType. Addresses #9823 2020-08-06 16:02:26 -07:00
Sophia Castellarin
7bd937c21b
Merge pull request #11806 from soapy1/allow-version-tag-docker-provisioner
Allow docker run images to specify version with ':'
2020-08-06 16:00:25 -05:00
sophia
f69f87625a Allow docker run images to specify version with ':' 2020-08-06 10:25:19 -05:00
sophia
187d8e9cfd Allow file provisioner to copy empty folders 2020-08-05 15:56:04 -05:00
sophia
e4367d1539 Refactor linux change host cap 2020-08-05 15:12:45 -05:00
Jeff Bonhag
3a1705b50a
Make sure we don't run an empty box 2020-07-31 15:29:06 -04:00
Sophia Castellarin
f49e9f9700
Merge pull request #11719 from soapy1/change-host-name-cap-darwin
Make darwin + openbsd +freebsd guest respect 'hostname' network config option
2020-07-30 12:27:38 -05:00
Sophia Castellarin
09f2c2716f
Merge pull request #11718 from soapy1/change-host-name-cap-alpine
Make alpine guest respect 'hostname' network config option
2020-07-30 11:29:34 -05:00
Lachlan Arthur
53b2805242 Update tests with correct arguments 2020-07-30 18:49:23 +10:00
Brian Cain
50766b2f14
Merge pull request #11767 from briancain/fix/ensure-isolated-disk-checks
Ensure VirtualBox Disk capability works only off of guest attached disks
2020-07-29 12:57:55 -07:00
Sophia Castellarin
99c34855ef
Merge pull request #11750 from soapy1/build-iso-module
Refactor building ISO cap
2020-07-29 14:16:04 -05:00
sophia
476977a732 Close and unlink iso tempfile
On Windows tempfile.delete does not delete the file. It needs
to be closed and unlinked
2020-07-28 11:24:15 -05:00
Brian Cain
60ef0d7d9c
Use existing disk structure rather than finding port/device again 2020-07-27 13:46:03 -07:00
Brian Cain
e2c844db74
Properly determine disk recovery
Because Vagrant no longer determines `all_disks` through `vboxmanage
list hdds`, it can't rely on unattached disks existing in `all_disks`.
This commit fixes that by including the results from `list hdds` to
determine if Vagrant needs to reattach a disk created by Vagrant that
failed to be attached previously.
2020-07-27 13:31:28 -07:00
Jeff Bonhag
a82a785651
Merge pull request #11614 from jbonhag/fixup/haiku-rsync-install
Fix #9552: Install rsync on Haiku guests
2020-07-23 16:53:06 -04:00
Sophia Castellarin
cb1ade9332
Merge pull request #11523 from soapy1/install-autocomplete-cmd
Install zsh autocomplete
2020-07-23 13:59:36 -05:00
sophia
9eb431b1bf Clean up tests 2020-07-20 15:46:15 -05:00
sophia
cf130d07a2 Update omnios cap for setting hostname 2020-07-20 15:19:50 -05:00
sophia
169d7b4011 Update photon cap for setting hostname
sqash
2020-07-20 15:19:50 -05:00
sophia
5afd7fdd73 Extract change hostnamet base class 2020-07-20 15:19:50 -05:00
sophia
91ac0681cf Update RHEL cap for setting hostname 2020-07-20 15:19:50 -05:00
sophia
c2b9497923 Update Gentoo cap for setting hostname 2020-07-20 15:19:50 -05:00
sophia
c844f7689d Make pld guest respect 'hostname' network config option 2020-07-20 15:19:50 -05:00
sophia
e4e72522b2 Make slackware guest respect 'hostname' network config option 2020-07-20 15:19:50 -05:00
sophia
326f0a4858 Make atomic-host guest respect 'hostname' network config option 2020-07-20 15:19:50 -05:00
sophia
71ea0e6f2a Make arch guest respect 'hostname' network config option 2020-07-20 15:19:50 -05:00
sophia
18737f29fd Update change host name cap for debian 2020-07-20 15:19:50 -05:00
sophia
d90ae50b60 Update change host name cap for ALT os 2020-07-20 15:19:50 -05:00
Sophia Castellarin
3d4b721a22
Merge pull request #11579 from soapy1/provisioner-communicator_required
Provisioner communicator required
2020-07-17 10:45:34 -05:00
Brian Cain
0198c17c56
Merge pull request #11400 from rmunn/feature/arch-network-with-systemd-networkd
Use systemd-networkd on Archlinux guests
2020-07-16 14:34:54 -07:00
Brian Cain
8cec544fcc
Merge pull request #11759 from danowar2k/#11758-solaris11-shell-expand-guest-path-capability
Closes #11758
2020-07-16 09:40:22 -07:00
Sophia Castellarin
a883a8a7c7
Merge pull request #11738 from uzxmx/fix-failed-tests
Fix sometimes-failed test cases that depend on running order
2020-07-16 11:38:02 -05:00
Brian Cain
ece5449dd2
Update virtualbox configure_disks to use storage controller attachments
This commit updates how Vagrant manages disk state with the virtualbox
provider. Instead of using the raw structure from `list_hdds` for
all_disks, it instead uses that data that now lives inside the
controllers attachment structure.
2020-07-14 09:22:55 -07:00
Brian Cain
f33d513969
Include detailed info about each disk in attachment structure
This commit includes all detailed disk information from VirtualBox
inside its storage structure in Vagrant. This gives Vagrant more
detailed access for a disk beyond its uuid and port/device such as its
capacity and the type of disk it's classified as.
2020-07-13 17:06:23 -07:00
Brian Cain
a6e8c21af8
Update virtualbox to only obtain guest disks instead of all disks
This commit updates how the virtualbox provider obtains `all_disks`.
Instead of using the `list_hdds` driver method, which lists al known
harddisks for an entire VirtualBox installation, it instead uses that
array of disks to filter out the proper disks associated with the guest,
given its existance inside the guests controller attachments.
2020-07-13 16:00:40 -07:00
Jeff Bonhag
352b955d09
Treat an empty box value as invalid
This fixes an issue where having a box name set to an empty string will
cause all Vagrant commands to fail with an error like:

ArgumentError: Malformed version number string (random box name)

This may be related to #10663.
2020-07-13 17:37:13 -04:00
Daniel Poggenpohl
0524649b22 #11758
- removed the solaris11 shell_expand_guest_path_test unit test again
2020-07-11 01:53:16 +02:00
Daniel Poggenpohl
cdd04d3252 #11758
- added a ~ path test to the linux tests
2020-07-11 01:48:23 +02:00
Daniel Poggenpohl
480b8997d8 #11758
- fixed failing test (now done like linux cap test)
2020-07-10 23:38:29 +02:00