Commit graph

5573 commits

Author SHA1 Message Date
Chris Roberts
37b294680c
Update authentication handling with client wrapper 2024-11-11 15:49:42 -08:00
Chris Roberts
8b06640fcf
Use helper for require calls 2024-11-06 17:33:00 -08:00
Chris Roberts
366c525539
Merge pull request #13525 from chrisroberts/encoding-error
Force encoding on command output strings
2024-11-01 14:08:55 -07:00
Chris Roberts
b5d62e2d81
Merge pull request #13343 from tnaroska/docker_build_containerd_fix
Fix#13342 adapt docker provider build for containerd storage
2024-11-01 14:07:00 -07:00
Chris Roberts
6be63b92e2
Force encoding on command output strings
Incompatible encodings will result in an error when the exception
is translated. The outputs may not be UTF-8 encoded so force
the encoding when providing the values in the exception.
2024-11-01 13:43:24 -07:00
Chris Roberts
d43f154032
Merge pull request #13517 from max-arnold/fix-salt-bootstrap
Fix Salt bootstrap script URLs
2024-11-01 12:14:48 -07:00
Chris Roberts
ffe6457171
Merge pull request #13493 from robinmulder/fix-ansible-version-match
Fix double digits Ansible version match
2024-10-30 12:47:03 -07:00
Chris Roberts
5e83b54195
Merge pull request #13513 from chrisroberts/vbox-7_1
Add support for VirtualBox 7.1
2024-10-30 12:32:14 -07:00
Chris Roberts
adcbd81eea
Merge pull request #13494 from MatrixDJ96/network_ip_ends_in_one_fix
Fixed conditions in network_ip_ends_in_one
2024-10-30 12:10:41 -07:00
Chris Roberts
85d97f5383
Add support for VirtualBox 7.1 2024-10-30 12:06:29 -07:00
Max Arnold
fd281cffcd
Switch to salt-bootstrap Github releases URLs
See https://saltproject.io/blog/salt-bootstrap-breakage-part-2/ for the explanation
2024-10-30 07:09:51 +07:00
Max Arnold
c9ca8e7c88
Fix Salt bootstrap script URLs
See https://saltproject.io/blog/salt-bootstrap-breakage/ for more details
2024-10-26 10:21:55 +07:00
Allison Larson
f977161282
Merge pull request #13496 from allisonlarson/allison-virtualbox-state-update
Update provider/virtualbox to allow paused state when booting vm
2024-09-23 12:04:49 -07:00
Mattia Rombi
a030ec068f Fixed conditions in network_ip_ends_in_one
Solve error: undefined method `end_with?' for nil:NilClass (NoMethodError)
2024-08-27 00:38:50 +02:00
Allison Larson
c4fa5df4f7 Add :paused to valid Virtualbox boot state 2024-08-26 09:45:50 -07:00
Robin Mulder
b357829dcc
Fix double digits ansible version match 2024-08-26 16:20:30 +02:00
Allison Larson
380eccc3b9 bsd/nfs: Check the status of nfsd before update/restart 2024-08-21 13:55:48 -07:00
Allison Larson
282b46904b bsd/nfs: Use nfs_update_command instead of restart 2024-08-21 10:49:47 -07:00
Allison Larson
a00483deba Move nfs mounting message within block 2024-08-20 11:06:35 -07:00
Allison Larson
2cb8183fe7
Merge pull request #13489 from allisonlarson/allison-docker-full-id
Match docker image id on full output from list when building
2024-08-16 10:17:17 -07:00
Allison Larson
1056f76922 Match docker image id on full output from list when building 2024-08-15 14:35:20 -07:00
Allison Larson
72579915d0 Pass docker exec_options to executor as kwargs 2024-08-14 13:52:12 -07:00
Chris Roberts
015e050195
Merge pull request #13346 from camillo-toselli/main
Update configure_disks.rb
2024-07-10 17:53:07 -07:00
Chris Roberts
22aad2b7d9
Merge pull request #13475 from hashicorp/container-id-matching
Properly match container ID when trailing content exists
2024-07-10 17:27:49 -07:00
Chris Roberts
e7142b6c09
Merge pull request #13411 from koberbe/bugfix/nfs-client-installation-stuck-on-debian
Make installation of NFS client on Debian non-interactive to prevent the process from being stuck
2024-07-10 17:08:22 -07:00
Chris Roberts
12df089810
Properly match container ID when trailing content exists 2024-07-10 16:56:32 -07:00
Chris Roberts
df5d8f11f5
Merge pull request #13373 from tomjn/patch-2
Check if the docker config is nil, fixes #13371
2024-07-10 16:42:12 -07:00
Chris Roberts
558682ad5b
Merge pull request #13375 from patrickpoortman/fix_gather_ansible_version
provisioner/ansible: Fix ansible version gathering in host provisioner
2024-07-10 16:25:23 -07:00
Chris Roberts
b71b9b5efc
Compact down config extraction 2024-07-10 16:07:26 -07:00
Chris Roberts
26831d99cc
Merge pull request #13409 from rgl/rgl-fix-openwrt-nfs-synced-folders
fix openwrt nfs synched folders
2024-07-10 15:17:59 -07:00
Chris Roberts
89f69e9697
Merge pull request #13383 from ALameLlama/feature/nicer-nfs-mount-message
NFS Folder Mounting message
2024-07-10 15:11:37 -07:00
Chris Roberts
4b7a465d23
Merge pull request #13394 from paulcacheux/fix-virtualbox-7-version-detection
virtualbox version detection: handle WARNING lines
2024-07-10 14:20:16 -07:00
Chris Roberts
0c328c39e2
Merge pull request #13362 from chadek/main
Adding warning for IPv6 ending with 1
2024-07-10 14:17:23 -07:00
Chris Roberts
67599f89e2
Cast to string to prevent error if no match is found 2024-07-10 13:53:41 -07:00
Chris Roberts
4fc1311f93 Fix cloud provider upload command
Fixes the cloud provider upload command to properly include the architecture
value when determining the correct provider.
2024-06-26 08:44:36 -07:00
Kai Oberbeckmann
c75c872551
Make installation of NFS client on Debian non-interactive to prevent the process from being stuck 2024-06-14 11:12:04 +02:00
Rui Lopes
7dacc4b711
fix openwrt nfs synched folders
in openwrt, /sbin/init --version does not print the version, instead it calls init, which breaks the running system

this was already fixed in https://github.com/hashicorp/vagrant/pull/7813 but somehow was lost in later code changes
2024-06-10 10:44:38 +01:00
Paul Cacheux
f67d4f75eb
virtualbox version detection: handle WARNING lines 2024-05-20 14:50:01 +02:00
Nicholas Ciechanowski
b26482d23c feat: nicer message when mounting nfs folders 2024-04-22 16:20:03 +10:00
Patrick Poortman
94a888b260
Fix ansible version gathering in host provisioner 2024-04-02 14:37:07 +02:00
Tom J Nowell
ad92256190
adjust the fix for #13371 to conform to code elsewhere in the file and check for IPAM 2024-03-28 16:20:52 +00:00
Tom J Nowell
5a191b388b
Check if the docker config is nil, fixes #13371
Sometimes the host network has a nil config, causing a crash on vagrant up when checking the docker networks
2024-03-28 16:15:00 +00:00
Fabrice Meyer
1a576716b9 adding ipv6 condition to network_ip_ends_in_one
Signed-off-by: Fabrice Meyer <meyer.fabrice@gmx.fr>
2024-03-09 23:59:29 +01:00
Camillo Toselli
716f76b2a6
Update configure_disks.rb
fixed configure_disks.rb in hyper-v capabilities provider to allow creation and removal of additional disks,
2024-01-30 11:18:40 +01:00
Timo Naroska
ce15776b32 Fix#13342 adapt docker provider build for containerd storage 2024-01-27 23:30:57 -08:00
Chris Roberts
c239e37b2f Force config value type and add test coverage
When extracting the config value from the data, force it to an Array
type for the size check. Include a test case that includes missing
configuration information to verify it does not produce an error.
2024-01-23 13:57:04 -08:00
Lars Tobias Skjong-Børsting
7d8b5e45fc Fix undefined method `size' for nil:NilClass in network_defined? 2024-01-20 12:59:47 +01:00
Chris Roberts
5a7fd6b302 Inspect guest for supported key types
Updates the SSH communicator to inspect the guest sshd configuration for
supported key types when creating a new key to replace the default
insecure public key. If the guest cannot be inspected, the connection
will be inspected. If the connection cannot be inspected, it will simply
fall back to the original behavior of using an rsa type key.
2024-01-18 11:53:00 -08:00
Chris Roberts
0a8f99df52 Open private key file in binary mode when writing
Prevent newlines from being converted to CRLF when writing private key
to file.
2024-01-12 16:01:23 -08:00
Chris Roberts
da8bdae003 Adjust string syntax 2024-01-10 16:47:59 -08:00