[pve-devel] [PATCH qemu-server] cloud-init: don't regenerate ssh hosts key on config change when vm is running

Gilles Pietri contact+dev at gilouweb.com
Wed Jan 13 17:40:47 CET 2021


Le 13/01/2021 à 10:01, Alexandre Derumier a écrit :
> Currently, we always regenerate sshkeys on any config change.
> 
> It should be done only before the first vm start, but currently can't known that.
> 
> So, this patch only do it when vm is running.

Hi,

There is something indeed annoying with that module, as I always end up
adding ssh_deletekeys: false in a provisionned server, but I like that
it does it the first time indeed…

Maybe we could let it be configurable though!

Gilou



More information about the pve-devel mailing list