Re: [pve-devel] [PATCH container] fix creating unmanaged containers

2021-10-04 Thread Thomas Lamprecht
On 04.10.21 16:55, Oguz Bektas wrote: > $keynames was not a hash reference since nothing was returned by > ssh_host_key_types_to_generate for unmanaged containers, this causes the > post_create_hook to fail and no container is created. While $keynames is not a hash ref it isn't supposed to always

[pve-devel] [PATCH container] fix creating unmanaged containers

2021-10-04 Thread Oguz Bektas
$keynames was not a hash reference since nothing was returned by ssh_host_key_types_to_generate for unmanaged containers, this causes the post_create_hook to fail and no container is created. fix by returning an empty hash so that $keynames can be a hashref and processed accordingly. also dropped