fix: remove password from LXC config update (not supported by Proxmox API)

This commit is contained in:
2026-03-02 07:31:47 -05:00
parent 3879dab60b
commit 153bcfcea5
2 changed files with 14 additions and 7 deletions

View File

@@ -613,9 +613,8 @@ class Proxmox extends ClassServer
'hostname' => $server->hostname,
];
if ($password) {
$data['password'] = $password;
}
// Note: LXC password cannot be set via config PUT - only during pct create.
// Password from cloned template is preserved, or use pct exec to change it.
// Resize rootfs disk
$this->requestAndWait('/nodes/' . $server->node->name . '/lxc/' . $server->vm_id . '/resize', 'put', [