generate ssh keys on vm creation for consistent login

This commit is contained in:
Sagar Ch 2024-06-11 22:58:42 +00:00
parent abedd98ac2
commit f345b30510

View file

@ -73,6 +73,7 @@ let
commands = '' commands = ''
truncate /etc/machine-id truncate /etc/machine-id
run-command systemd-machine-id-setup run-command systemd-machine-id-setup
run-command ssh-keygen -A
''; '';
}; };