From 92117f6625514cf481cda4524b1d8bc36a51b07e Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Sat, 26 Feb 2022 15:44:02 +0000 Subject: [PATCH] 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 --- kitchen.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitchen.yml b/kitchen.yml index a543310..bc27d41 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -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