On Mon, 10 Nov 2025 15:36:20 +0100, Daniel Kral wrote:
> PVE::API2::HA::Resources is not imported through a use statement here,
> so `pct create ... --ha-managed 1` will not add the container as an HA
> resource.
>
> Replace the direct API call with a 'ha-manager' invocation as we don't
> seem to import API modules from other packages except in pve-manager and
> use the 'ha-manager' command at other call sites already.
>
> [...]
Applied, thanks!
[1/1] api: create_vm: use ha-manager command to add container as an HA resource
commit: 49177d0dad146863e3c407f2c23d9180bb91767d
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel