nixos/ec2-data fix host fingerprint output to console (regression) (#390185)

Changed files
+1 -1
nixos
modules
virtualisation
+1 -1
nixos/modules/virtualisation/ec2-data.nix
···
# ec2-get-console-output.
echo "-----BEGIN SSH HOST KEY FINGERPRINTS-----" > /dev/console
for i in /etc/ssh/ssh_host_*_key.pub; do
-
${config.programs.ssh.package}/bin/ssh-keygen -l -f "$i" || true > /dev/console
+
${config.programs.ssh.package}/bin/ssh-keygen -l -f "$i" > /dev/console || true
done
echo "-----END SSH HOST KEY FINGERPRINTS-----" > /dev/console
'';