> Daniel Kral <d.k...@proxmox.com> hat am 27.06.2025 11:44 CEST geschrieben: > > > On 6/27/25 10:46, Fabian Grünbichler wrote: > > we already have PVE::LXC::Setup::rewrite_ssh_host_keys which AFAICT is > > called unconditionally in Setup::post_create_hook even for unmanaged > > containers, given that precedent I think we can just extend that.. > > Oh wait, just was reminded that rewrite_ssh_host_keys is unconditionally > called in Setup::post_create_hook, but ssh_host_key_types_to_generate is > overwritten in Setup::Unmanaged to return empty, i.e. do not rewrite any > ssh host keys. > > Should we still extend it here or keep it in > Setup::Base::post_create_hook(...)? Else I send a tested patch with > those changes afterwards :)
in that case both would be fine, and rewriting and deletion should both be skipped for unmanaged. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel