Skip to content

Commit 1bd2755

Browse files
committed
Patch Vagrant not to use ed25519 keys
1 parent 1fdc4a4 commit 1bd2755

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
python-version: '3.12'
5757
- name: Setup libvirt for Vagrant
5858
uses: voxpupuli/setup-vagrant@v0
59+
- name: Patch Vagrant not to use ed25519 keys
60+
if: matrix.security == 'fips'
61+
run:
62+
sudo sed -i '/PREFER_KEY_TYPES/ s/"ssh-ed25519".freeze => :ed25519, //' /usr/lib/x86_64-linux-gnu/rubygems-integration/*/gems/vagrant-*/lib/vagrant/util/keypair.rb
5963
- name: Install Ansible
6064
run: pip install --upgrade ansible-core
6165
- name: Setup environment

0 commit comments

Comments
 (0)