4617 Commits

Author SHA1 Message Date
Sophia Castellarin
0d0935fce7
Merge pull request #11909 from soapy1/fstab-mod
Create fstab if does not exist
2020-09-22 14:29:09 -05:00
Chris Roberts
4b07f2d1fa
Merge pull request #11912 from kipal/assume-yes-cloud-version-release
--yes options added to CloudCommand::VersionCommand::Command::Release
2020-09-22 11:38:48 -07:00
Chris Roberts
7103be62b9
Merge pull request #11867 from marxarelli/fix/storage-controller-array-sort
Avoid sorting of controllers with nil boot_priority
2020-09-22 11:36:02 -07:00
Nandor Kiss
cc3cdfe452 --force instead of --yes. 2020-09-22 20:13:30 +02:00
Nandor Kiss
59d398c405 --yes at vagrant cloud version release command. 2020-09-16 22:25:41 +02:00
sophia
b6aebeacae Use '-r' xargs argument
This will pervent running sed if there are no results
passed to xargs
2020-09-16 10:36:55 -05:00
sophia
0831df2e7f Create fstab if does not exist 2020-09-15 15:38:32 -05:00
Sophia Castellarin
bc949da980
Merge pull request #11877 from soapy1/rhel-check-network-files
Check for existence of network files before trying to update them
2020-09-15 11:13:06 -05:00
Sophia Castellarin
3a407c9dfa
Merge pull request #11885 from soapy1/debian-host-name-order
Set hostname in /etc/hosts as first step to changing hostname
2020-09-15 11:11:12 -05:00
sophia
7370f24318 Check for existence of network files before trying to update them 2020-09-14 11:10:52 -05:00
sophia
41fa71081f Add check for /etc/fstab 2020-09-14 09:43:07 -05:00
sophia
638e3d35b9 Set hostname in /etc/hosts as first step to changing hostname 2020-09-08 11:03:02 -05:00
Dan Duvall
1b0f5120c6 Avoid sorting of controllers with nil boot_priority
Some unsupported storage controllers (e.g. floppy) report a nil
boot_priority which results in a failed sort. Select only supported
storage controllers to avoid that case.
2020-09-01 09:57:55 -07:00
Sophia Castellarin
3835da3839
Merge pull request #11797 from soapy1/synced-folder-caps
Synced folder caps for mount options and default fstab modification behaviour
2020-08-21 11:44:15 -05:00
sophia
23901fddf5 Simplify vm config for determining fstab modification setting 2020-08-21 11:10:01 -05:00
sophia
649f69747f Check for nil return from forwarded ports cap
Nil may be returned if the forwarded ports cap is called while the
machine is not in a running state.
2020-08-19 17:13:33 -05:00
sophia
56fa014af8 Don't persist shared folders if mount options capability not provided 2020-08-19 15:47:21 -05:00
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
7577c11eb6 Persist synced folders in action 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
2239ee8582 Create Hash with type attribute 2020-08-19 15:00:40 -05:00
sophia
faad9f2717 Add tests 2020-08-19 15:00:40 -05:00
sophia
de28cec95f Add mount options cap for smb 2020-08-19 15:00:40 -05:00
sophia
cde39e26ba Make mount options a synced_folder capability 2020-08-19 15:00:40 -05:00
sophia
afd2a28f60 Add synced_folder_capability 2020-08-19 15:00:40 -05:00
sophia
e7e956ca12 Fix a few deprecation warnings for ruby 2.7 2020-08-10 16:32:54 -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
Sophia Castellarin
5135bdfc2e
Merge pull request #11809 from soapy1/fix-secure-boot
Fix if statement to use '-and' syntax
2020-08-07 17:43:34 -05:00
sophia
e3223b67ff Fix if statement to use '-and' syntax
Docs for powershell:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_logical_operators?view=powershell-7
2020-08-07 17:24:49 -05: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
be10e060e6
Merge pull request #11732 from soapy1/detach-from-subprocess
Detach from subprocess
2020-08-07 11:11:03 -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
Cameron Jack
41948a1ca9 Moving hyper-v enhanced session message to I18n 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
c17ba03904
Merge pull request #11773 from soapy1/cloud-init-wait-action
Add cloud init wait action
2020-08-06 16:28:45 -05:00
sophia
6341563e84 Allow Linux RDP cap detach from rdp process for consistency 2020-08-06 16:19:11 -05: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
a1d429a4e8 Raise more descriptive error if cloud init fails 2020-08-06 15:47:36 -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
abf4a4c9c5
Display machine name in error message
Co-authored-by: Brian Cain <bcain@hashicorp.com>
2020-07-31 15:19:29 -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
c2df34298f Fix SMB credential validation on Windows hosts 2020-07-30 17:10:18 +10:00