sophia
f9b1d52ec6
Catch error for when guest is not available
2020-09-10 16:28:38 -05: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
e96d60c029
Add tests for persisting shared folders
2020-08-20 18:24:09 -05:00
sophia
e2f012ff58
Escape value being scrubbed
2020-08-20 18:03:01 -05:00
sophia
943047d003
Add tests for synced folder collections
2020-08-19 17:57:57 -05:00
sophia
bb5d0e9c28
Remove credentials scrubbing from caching synced folders
...
Passwords are (and should) never stored be as part of folder data.
I think there is also a case to be made about desensitizes
information here can lead to leaking of credentials. For example if
an exported folder is named "vagrant" and the users password is
"vagrant", the synced_folder cache will show "****" in place of the
folder name, indicating that it is also password.
2020-08-19 17:43:22 -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
7577c11eb6
Persist synced folders in action
2020-08-19 15:00:40 -05:00
sophia
1a3136b9fe
Allow types to be specified when instantiating a typed hash
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
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
27b37ea838
Scrub credentials as whole words, don't capture matching substrings
2020-08-18 11:38:04 -05:00
Chris Roberts
e9ece2ab58
Merge pull request #11814 from chrisroberts/f-dep-warns
...
Updates to address all Ruby deprecations and warnings
2020-08-12 09:07:10 -07: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
98ffa4add0
Speed up open port detection
2020-08-07 16:38:15 -07:00
Chris Roberts
05a3e122fb
Only warn when configured host IP is not found on local device
2020-08-07 16:38:15 -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
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
Sophia Castellarin
2d59b4f8dd
Merge pull request #11807 from soapy1/sanatize-mount-command
...
Capture escape character [3J
2020-08-07 10:53:01 -05: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
8a766ca9ab
Capture escape character [3J
2020-08-06 15:50:51 -05:00
sophia
a1d429a4e8
Raise more descriptive error if cloud init fails
2020-08-06 15:47:36 -05:00
Jeff Bonhag
3a1705b50a
Make sure we don't run an empty box
2020-07-31 15:29:06 -04:00
Sophia Castellarin
b41db6bebe
Output cloud init messages to user
...
Co-authored-by: Jeff Bonhag <jbonhag@hashicorp.com>
2020-07-31 12:10:43 -05:00
Jeff Bonhag
db57af5bca
Write meta-data as yaml
2020-07-31 11:58:06 -04:00
Jeff Bonhag
c60d1f8565
Set MIME-Version for user data
2020-07-31 11:57:56 -04:00
Jeff Bonhag
f0f681716d
Merge pull request #11787 from fliam/fix-privileged-powershell-executable-on-wsl
...
Use the correct powershell executable for privileged commands
2020-07-30 16:11:00 -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
99c34855ef
Merge pull request #11750 from soapy1/build-iso-module
...
Refactor building ISO cap
2020-07-29 14:16:04 -05:00
sophia
0a5a940e58
Raise an error if cloud-init is not found on guest
2020-07-29 12:50:50 -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
Liam Feid
3898d02259
Use the correct powershell executable for privileged commands
2020-07-28 07:48:41 +02:00
sophia
5caae15f22
Move isofs_available cap to plugin
2020-07-23 14:42:45 -05: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 Castellarin
3d4b721a22
Merge pull request #11579 from soapy1/provisioner-communicator_required
...
Provisioner communicator required
2020-07-17 10:45:34 -05:00
sophia
e5d7813b0a
Call cap for building iso
2020-07-16 15:40:45 -05:00
sophia
3f867e0df4
Add cloud init wait action
2020-07-16 15:40:39 -05:00
Jeff Bonhag
eecf1dbe57
Add validation error for empty box
...
This commit adds a unique error message for an empty box value. It
requires modifications to vagrantfile.rb because some Vagrantfile config
is used before validation occurs.
2020-07-13 17:46:28 -04:00
Jeff Bonhag
ff9f9c40e8
Differentiate between controller "not found" errors
...
This commit adds a new error message to be raised if a VM has no
supported storage controllers. This lets us differentiate between two
different "controller not found" scenarios:
1. If we are looking for a controller that we're expecting to find (i.e.
one that was recorded in the disk metadata file)
2. If we are poking around for the *best* controller to use in a
configuration task
2020-07-09 15:10:50 -04:00
Jeff Bonhag
c9bdcb6839
Error on unsupported storage controller type
2020-07-09 15:07:49 -04:00
Jeff Bonhag
1e6eb0d636
Raise an error if primary disk can't be found
2020-07-09 15:07:49 -04:00
Jeff Bonhag
3a515cc7d6
Error if the required storage controller not found
...
This commit adds a new error type that can be raised whenever a storage
controller of the required type is not found. This indicates that a user
needs to either add the storage controller manually or change their disk
configuration.
It also removes the last hardcoded instance of "SATA Controller" as a
default argument.
2020-07-09 15:07:48 -04:00
sophia
b1d1c20ff7
Refactor building iso
2020-07-08 11:40:00 -05:00
sophia
4a77060805
Add linux cap
2020-07-08 11:15:26 -05:00
sophia
33d7c94320
Refactor iso building into a util
2020-07-08 10:24:21 -05:00