ci(kitchen): set LEGACY crypto policy on Fedora (get 35 working)

Using successfully in the `salt-image-builder` for almost a year now:

* https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/commit/ac145f3022a13
This commit is contained in:
Imran Iqbal 2022-02-26 15:44:02 +00:00 committed by Pedro Algarvio
parent b2d56a6b21
commit 92117f6625

View file

@ -60,8 +60,8 @@ platforms:
- name: fedora-34
driver:
provision_command: &fedora_provision_command
- dnf -y install procps-ng
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
- dnf -y install procps-ng crypto-policies-scripts
- update-crypto-policies --set LEGACY
- name: fedora-35
driver:
provision_command: *fedora_provision_command