13337 Commits

Author SHA1 Message Date
Jeff Bonhag
57a0703663 Pass guest platform into spec runner
This will allow us to filter specs based on the guest operating system,
for example if we don't want to run certain tests on a Windows guest.

See https://github.com/hashicorp/vagrant-spec/pull/35/files#diff-411e94c903d454a80d43973dd16f9b7bR19
for an example.
2020-07-29 16:48:21 -04:00
Chris Roberts
5b76c9eb63 Update CHANGELOG 2020-07-28 15:13:13 -07:00
Chris Roberts
64490299c3 Include check for support of the SecureBootTemplate parameter 2020-07-28 15:10:57 -07:00
Chris Roberts
4f876a59d3
Merge pull request #11756 from sw-fastec/hyper-v-secure-boot-template
Set secure boot template setting for hyper-v
2020-07-28 15:05:34 -07:00
Jeff Bonhag
b863981d2d
Merge pull request #11781 from jbonhag/docs/check-guest-additions
Document check_guest_additions option
2020-07-24 12:58:17 -04:00
Jeff Bonhag
a0a39c8c59
Update CHANGELOG 2020-07-23 16:56:00 -04: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
2587f39bd8 Update CHANGELOG 2020-07-23 14:01:28 -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
7eb55bdecf
Merge pull request #11520 from soapy1/zsh-completion
Add zsh completion
2020-07-23 13:57:48 -05:00
Brian Cain
b05a26d5f7
Merge pull request #11774 from judithpatudith/get-started/redirects
Redirect getting started pages to learn.
2020-07-22 15:21:57 -07:00
Jeff Bonhag
145a880f6d
Document check_guest_additions option 2020-07-22 14:52:40 -04:00
sophia
454b423a44 Update CHANGELOG 2020-07-17 10:46:53 -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
Judith Malnick
52070df2a1 account for underscoress in URLs 2020-07-16 17:08:07 -07:00
Judith Malnick
40e175034d remove get started nav tree and direct link to learn 2020-07-16 15:12:46 -07:00
Brian Cain
7ac41d7279
Update CHANGELOG 2020-07-16 14:36:21 -07: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
Judith Malnick
8eebb0f9ca replace pages with a single title link 2020-07-16 13:56:55 -07:00
Judith Malnick
63d0f98d09 add missing 301 2020-07-16 13:43:17 -07:00
Judith Malnick
be87ffb545 add 301 to all redirects 2020-07-16 13:41:31 -07:00
Brian Cain
fee90a6f00
Merge pull request #11752 from hashicorp/platform-upgrade-7-8-20
🌷 july docs website platform updates
2020-07-16 13:21:47 -07:00
Judith Malnick
95a7778c15 reword tutorial description and link to learn 2020-07-16 12:58:42 -07:00
Judith Malnick
ba2621d987 remove current content 2020-07-16 12:33:19 -07:00
Judith Malnick
0e32be3bc9 add redirects 2020-07-16 12:32:18 -07:00
Brian Cain
67c161efa4
Update CHANGELOG 2020-07-16 09:41:33 -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
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
3ed2489c4a #11758
- removed superfluous cap/shell_expand_guest_path
- solaris11 guest_capability for shell_expand_guest_path now directly returns the linux capability class
2020-07-11 00:29:44 +02:00
Daniel Poggenpohl
480b8997d8 #11758
- fixed failing test (now done like linux cap test)
2020-07-10 23:38:29 +02:00
Daniel Poggenpohl
c4b16b509a #11758
- added shell_expand_guest_path capability for solaris11
- added tests for solaris11 shell_expand_guest_path capability
2020-07-10 23:19:34 +02:00
Stephan Wild
4ff1ff5bc0 Set secure boot template setting for hyperv 2020-07-10 20:38:32 +02:00
Jeff Bonhag
6ee180a023
Update CHANGELOG 2020-07-10 12:44:27 -04:00
Jeff Bonhag
df0312c507
Merge pull request #11613 from jbonhag/provider/virtualbox_iso-attachment
Feature: ISO attachment for VirtualBox
2020-07-10 12:42:52 -04:00
Jeff Bonhag
de461fa47c
Fix a couple of tests
Use subject instead of invalid_subject because the validation assertions
test the subject double.

This also adds an additional check when validating the `size` attribute
because it is only required for disks of type `:disk`.
2020-07-09 15:33:19 -04:00
Jeff Bonhag
1d46cd3882
Update templates/locales/en.yml
Co-authored-by: Sophia Castellarin <sophia@hashicorp.com>
2020-07-09 15:11:35 -04:00
Jeff Bonhag
8c90eb7b05
Updated attachment logic 2020-07-09 15:11:35 -04:00
Jeff Bonhag
3cb01415e4
Add support for SCSI controllers
SCSI controllers are a lot like SATA controllers. This commit also
changes some controller detection logic to take boot priority into
account when selecting an appropriate controller.
2020-07-09 15:11:35 -04:00
Jeff Bonhag
21954c29af
Hook into ValidateDiskExt capability 2020-07-09 15:11:35 -04:00
Jeff Bonhag
883e45cc49
Refactor: isolate "storage bus" logic
Move all storage bus logic into the storage controller class. Since most
of the storage controller interaction only cares about the storage
controller name, we can simplify #get_controller and isolate the storage
controller detection-type logic in the StorageControllerArray.
2020-07-09 15:11:34 -04:00
Jeff Bonhag
33ef2ca017
Add machine name to error messages 2020-07-09 15:11:31 -04:00
Jeff Bonhag
52c1267b2c
Show duplicate values in error messages
This also prevents nil showing up as a duplicate value for disk configs
when `file` is undefined.
2020-07-09 15:10:50 -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
8c58e3f6f6
Refactor out method for getting the primary disk 2020-07-09 15:10:50 -04:00
Jeff Bonhag
63e168386a
Clean up disk_meta/dvd_meta in tests
- Add a type check for disk_meta/dvd_meta
- Fix up some places where metadata keys were using symbol keys instead of
quoted names
2020-07-09 15:10:48 -04:00
Jeff Bonhag
c316d18e35
Apply suggestions from code review
Co-authored-by: Brian Cain <bcain@hashicorp.com>
Co-authored-by: Sophia Castellarin <sophia@hashicorp.com>
2020-07-09 15:09:10 -04:00
Jeff Bonhag
423e212f58
Create Storage Controller array
This is an array-like object that's useful for answer questions about
the storage controllers arragement as a whole.
2020-07-09 15:09:10 -04:00
Jeff Bonhag
84d2c38cc2
Disallow multiple copies of the same ISO
This makes disk/dvd behavior more consistent, and makes it easier to
determine whether a dvd is already attached.
2020-07-09 15:09:10 -04:00