generate ssh keys on vm creation for consistent login
This commit is contained in:
parent
abedd98ac2
commit
f345b30510
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue