]> git.proxmox.com Git - pve-container.git/commit
setup: fix creating unmanaged containers
authorOguz Bektas <o.bektas@proxmox.com>
Tue, 5 Oct 2021 08:09:51 +0000 (10:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Oct 2021 08:54:55 +0000 (10:54 +0200)
commit10ed3245030d8055bf7d3fdeb2d36a37228843e6
tree04de4e088980971e486a0680f98f1528db3f7b25
parentc7626518ebca32c0021043ffe15d6672a2e18eba
setup: fix creating unmanaged containers

ssh_host_key_generate did not explicitly return in unmanaged plugin,
causing the post_create_hook to fail because of an invalid hash
reference (cannot use "1" as a HASH ref, "1" was likely being returned
implicitly as the scalar value of 'my ($self) = @_;')

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/PVE/LXC/Setup/Unmanaged.pm