16711 Commits

Author SHA1 Message Date
Chris Roberts
910290f40a
Merge pull request #13252 from mattlqx/sparse
use the -S flag with bsdtar for sparse extraction of boxes
2023-09-08 16:17:34 -07:00
Chris Roberts
a1b4175e5d Update CHANGELOG 2023-09-08 16:14:59 -07:00
Chris Roberts
45cc793013
Merge pull request #13257 from chrisroberts/initial-hcl-config
initial hcl config
2023-09-08 16:13:21 -07:00
Chris Roberts
513be177d3 Remove experimental checks
Removes experimental checks on existing experimental features.
2023-09-08 14:15:34 -07:00
Chris Roberts
e958c6183a Adds initial HCP config support
Adds initial basic support for HCP based configuration in vagrant-go.
The initalization process has been updated to remove Vagrantfile parsing
from the client, moving it to the runner using init jobs for the basis
and the project (if there is one). Detection is done on the file based
on extension for Ruby based parsing or HCP based parsing.

Current HCP parsing is extremely simple and currently just a base to
build off. Config components will be able to implement an `Init`
function to handle receiving configuration data from a non-native source
file. This will be extended to include a default approach for injecting
defined data in the future.

Some cleanup was done in the state around validations. Some logging
adjustments were applied on the Ruby side for better behavior
consistency.

VirtualBox provider now caches locale detection to prevent multiple
checks every time the driver is initialized.
2023-09-07 17:26:10 -07:00
Chris Roberts
fb7e673b61 Prevent complaints while in dev 2023-09-07 16:20:45 -07:00
Chris Roberts
61cac94dc3 Update flake 2023-09-07 16:20:45 -07:00
Matt Kulka
f5e0c12bb9
use the -S flag with bsdtar for sparse extraction of boxes 2023-08-24 13:09:18 -07:00
Chris Roberts
a7135c000b Apply license adjustments and fixes
Add configuration file for automated license modifications, remove
automated licese modifications from specific locations, and update the
license set in the gem specification.
2.3.8.dev+000094-a7135c00
2023-08-10 17:05:19 -07:00
Chris Roberts
d9dc1d6d8a
Merge pull request #13248 from hashicorp/compliance/license-changes
[COMPLIANCE] License changes
2023-08-10 16:07:08 -07:00
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
hashicorp-copywrite[bot]
731e9cb6c4
Updating the license from MPL to Business Source License
Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at https://hashi.co/license-faq, and details of the license at www.hashicorp.com/bsl.
2023-08-10 21:53:17 +01:00
dependabot[bot]
5fc64cde9b
Merge pull request #13227 from hashicorp/dependabot/npm_and_yarn/website/tough-cookie-4.1.3 2.3.8.dev+000079-5fc64cde 2.3.8.dev+000080-5fc64cde 2.3.8.dev+000081-5fc64cde 2.3.8.dev+000082-5fc64cde 2.3.8.dev+000083-5fc64cde 2.3.8.dev+000084-5fc64cde 2.3.8.dev+000085-5fc64cde 2.3.8.dev+000086-5fc64cde 2023-07-31 14:59:17 +00:00
dependabot[bot]
cf4a99fbed
Merge pull request #13233 from hashicorp/dependabot/npm_and_yarn/website/word-wrap-1.2.4 2023-07-31 14:58:47 +00:00
Max
8ecfe32021
Remove duplicate appending of "6" to network type
To distinct between IPv4 and IPv6 configuration, a "6" was added to the network configuration type if an IPv6 address should be configured. This is now duplicate, as with pull 13024 the same thing is already done prior, thus leading to a duplicate "6" at the end of the network config type, i.e. "static66".
2023-07-30 17:33:58 +02:00
Chris Roberts
b3a056df5f
Merge pull request #13012 from hashicorp/mktg-tf-2700f3711b54c7f3044e18b66ce1b72f
chore: Update Digital Team Files
2023-07-28 17:15:23 -07:00
Chris Roberts
9969b58ffe
Merge pull request #13240 from chrisroberts/pinning
Pin actions in workflows
2023-07-28 17:12:10 -07:00
Chris Roberts
a8ce678330 Pin all foreign actions in workflows 2023-07-28 17:09:01 -07:00
Chris Roberts
a06e0dd5b6 Remove spec testing workflow 2023-07-28 17:08:42 -07:00
dependabot[bot]
74a8d6cf4d
Bump word-wrap from 1.2.3 to 1.2.4 in /website
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 22:20:09 +00:00
vagrant-bot
8004b9e001 Terraform managed file 2.3.8.dev+000057-8004b9e0 2.3.8.dev+000058-8004b9e0 2.3.8.dev+000060-8004b9e0 2.3.8.dev+000061-8004b9e0 2.3.8.dev+000062-8004b9e0 2.3.8.dev+000063-8004b9e0 2.3.8.dev+000064-8004b9e0 2.3.8.dev+000065-8004b9e0 2.3.8.dev+000066-8004b9e0 2.3.8.dev+000067-8004b9e0 2.3.8.dev+000068-8004b9e0 2.3.8.dev+000069-8004b9e0 2.3.8.dev+000070-8004b9e0 2.3.8.dev+000071-8004b9e0 2023-07-13 11:27:02 -07:00
dependabot[bot]
756b12729c
Bump tough-cookie from 4.0.0 to 4.1.3 in /website
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 00:16:24 +00:00
Chris Roberts
848f2a7f62 Update CHANGELOG 2.3.8.dev+000046-848f2a7f 2.3.8.dev+000047-848f2a7f 2.3.8.dev+000048-848f2a7f 2.3.8.dev+000049-848f2a7f 2.3.8.dev+000050-848f2a7f 2.3.8.dev+000051-848f2a7f 2.3.8.dev+000052-848f2a7f 2.3.8.dev+000053-848f2a7f 2.3.8.dev+000054-848f2a7f 2.3.8.dev+000055-848f2a7f 2.3.8.dev+000056-848f2a7f 2023-06-27 10:35:43 -07:00
Chris Roberts
827140cd90
Merge pull request #13219 from chrisroberts/ssh-keys
Add keypair support for ed25519
2023-06-27 10:33:11 -07:00
Chris Roberts
2e95d08309 Update box documentation about keys 2023-06-26 15:48:53 -07:00
Chris Roberts
602d42bbc8 Add and update tests for insecure private keys
Updates existing test coverage to use insecure private key collection
and adds testing for behavior changes within the communicator and the
keypair utility.
2023-06-26 15:47:32 -07:00
Chris Roberts
e0dbbcc04c Use all insecure private key paths
When constructing the ssh information, use all available insecure key
paths for authentication.
2023-06-26 15:46:15 -07:00
Chris Roberts
380afe5fac Define directory and paths for insecure private keys
Within the environment, add a new directory value which points to the
directory containing the valid insecure private keys. A new default
private key paths value contains an array of all the insecure private
keys which are available for initial authentication.
2023-06-26 15:43:25 -07:00
Chris Roberts
cebfb7a63b Use key type supported by server if possible
Check the key types supported by the server. If the data is not
available, default to the previous behavior which is using the rsa key
type.

Update insecure key check to match against any key files located within
the keys directory. For now, this effectively allows matching either rsa
or ed25519 insecure private keys.
2023-06-26 15:07:58 -07:00
Chris Roberts
67562588c9 Add ed25519 keypair support
Introduce keypair support for ed25519. Default keypair type when
generating without specifying type is rsa to maintain existing behavior.
2023-06-26 15:06:36 -07:00
Chris Roberts
b40f6e5fda Add ed25519 insecure private key
Add a new ed25519 insecure private key. Update the README with
information about the two insecure keys. Retain the RSA key in the
`vagrant` file and duplicate it into `vagrant.key.rsa`. Append the
ed25519 public key to the `vagrant.pub` file.
2023-06-26 15:06:02 -07:00
Chris Roberts
f056c293b5
Merge pull request #13209 from nnlkcncff/patch-1
Update machine_settings.mdx
2.3.8.dev+000040-f056c293 2.3.8.dev+000041-f056c293 2.3.8.dev+000042-f056c293 2.3.8.dev+000043-f056c293 2.3.8.dev+000044-f056c293 2.3.8.dev+000045-f056c293
2023-06-21 14:39:48 -07:00
Chris Roberts
b5788ace14 Update CHANGELOG 2023-06-21 14:36:27 -07:00
Chris Roberts
713fa419f2
Merge pull request #13214 from chrisroberts/schannel-best-effort
Perform best effort ssl revocation check on Windows
2023-06-21 14:32:44 -07:00
Chris Roberts
0c0ac57f29 Update CHANGELOG 2023-06-21 14:32:14 -07:00
Chris Roberts
f72cda8b49 Include subdirectory when generating makefile 2.3.8.dev+000031-f72cda8b 2.3.8.dev+000032-f72cda8b 2023-06-21 12:28:05 -07:00
Chris Roberts
bdea8f8b16
Merge pull request #13215 from chrisroberts/ssl-helper-path
Adjust extension location for correct install path
2023-06-21 10:16:47 -07:00
Chris Roberts
b494c30ced Adjust extension location for correct install path
With existing layout the built shared library will end up in the `./lib`
directory, but the expected location being checked is `./lib/vagrant`.
Adjusting the path within the extension directory results in the proper
adjustment to the installation path.
2023-06-21 09:43:28 -07:00
vagrant-bot
961378e9e2 Terraform managed file 2023-06-21 08:33:24 -07:00
Chris Roberts
d83bfc0d40 Perform best effort ssl revocation check on Windows
When performing a request via curl on Windows using schannel, ssl
certificate revocation checks does not handle verification failures
gracefully when an error is encountered that is unrelated to the actual
revocation of a certificate.

A new option is available to perform best effort revocation checks on
curl, so this is enabled by default on the Windows platform. A new
config option (`box_download_disable_ssl_revoke_best_effort`) has also
been added which can be optionally enabled to restore previous behavior
which results in a hard error if any error is encountered.
2023-06-20 16:37:00 -07:00
nnlkcncff
f120129329
Update machine_settings.mdx
Correcting a double «the".
2023-06-17 16:30:15 +03:00
Chris Roberts
b616ef76fb Update files for new development 2023-06-15 13:42:27 -07:00
Chris Roberts
1f904866b5 Release 2.3.7 v2.3.7 2023-06-15 13:40:35 -07:00
vagrant-bot
2f2eaf2660 Terraform managed file 2023-06-15 08:47:09 -07:00
Chris Roberts
8a5b57cc14
Merge pull request #13205 from hashicorp/dependabot/npm_and_yarn/website/node-fetch-and-cross-fetch-2.6.11
Bump node-fetch and cross-fetch in /website
2.3.7.dev+000031-8a5b57cc 2.3.7.dev+000032-8a5b57cc
2023-06-13 13:58:17 -07:00
Chris Roberts
e08fac3989
Merge pull request #13203 from hashicorp/dependabot/npm_and_yarn/website/cross-fetch-3.1.6
Bump cross-fetch from 3.1.4 to 3.1.6 in /website
2023-06-13 13:57:58 -07:00
Chris Roberts
7b7300c45e
Merge pull request #13202 from hashicorp/dependabot/npm_and_yarn/website/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2 in /website
2023-06-13 13:57:31 -07:00
Chris Roberts
c9472c75e1
Merge pull request #13204 from hashicorp/dependabot/npm_and_yarn/website/json5-2.2.3
Bump json5 from 2.2.0 to 2.2.3 in /website
2023-06-13 13:57:04 -07:00
Chris Roberts
8fbbc8f411 Update CHANGELOG 2.3.7.dev+000029-8fbbc8f4 2023-06-12 17:26:43 -07:00
Chris Roberts
15291e2ab7
Merge pull request #13207 from chrisroberts/extension-dev-libs
Clarify missing library error
2023-06-12 17:25:37 -07:00