Skip to content

Commit ae6c19c

Browse files
committed
root-disks: Only generate DSA host key
It seems ssh_deletekeys is no longer, or never was, sufficient to suppress all SSH host key generation. Newer images (>= Fedora 36) default to creating multiple host keys types, which is slow when using TCG. So tell cloud-init to only generate a DSA key.
1 parent 9272d86 commit ae6c19c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

root-disks/cloud-init-user-data.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ users:
99

1010
# don't regenerate ssh keys, it takes time for no benefit
1111
ssh_deletekeys: false
12+
ssh_genkeytypes: [dsa]

0 commit comments

Comments
 (0)