fix: remove password from LXC config update (not supported by Proxmox API)
This commit is contained in:
@@ -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', [
|
||||
|
||||
Reference in New Issue
Block a user