Closed sil2100 closed 5 years ago
Tested this and it seems to work properly now. Previously every new image built had the same SSH host key everytime. Now each one has a new, 'unique' ssh host key generated on boot as expected.
mvo said it looks ok so I'll just 'do it' and merge.
This is apparently another thing that we missed because of not looking at livecd-rootfs code and the core-builder parts. Currently we seem to ship ssh host keys which, as I understand it (and see it) causes each image have the same ssh key fingerprint (!).
This is all pulled in from live-build's remove-openssh-server-host-keys hook and the files in core-build repository.