test(pillar): add ssh-rsa Kitchen workaround on Ubuntu 22.04 [skip ci]

This commit is contained in:
Imran Iqbal
2022-05-10 11:00:00 +01:00
parent 0213a876cb
commit 2419d26e02
2 changed files with 187 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ sshd_config:
{#- * https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/commit/cb6781a2bba9 #}
{%- if grains.os in ["Arch", "OpenBSD", "Gentoo"]
or grains.get("oscodename", "") in ["openSUSE Tumbleweed"]
or grains.get("osfinger", "") in ["Fedora Linux-36"] %}
or grains.get("osfinger", "") in ["Fedora Linux-36", "Ubuntu-22.04"] %}
PubkeyAcceptedAlgorithms: "+ssh-rsa"
{%- endif %}