Set "featrues" -> "nesting=1" doesn't work
superkrebs13 opened this issue · 1 comments
superkrebs13 commented
Setting nesting feature for LXC Containers did not work.
$this->req->Login($this->configure);
$dataArrayApi = array(
"features" => "nesting=1"
);
var_dump($this->nodes->setLxcConfig("node", "1111", $dataArrayApi));
I've just tested the api with a bash curl and it would work fine.
Something strange is happening within in curl-class. The POSTFIELD Data are encoded correctly and the result of the above written code looks fine object(stdClass)#43 (1) { ["data"]=> NULL }
but the change wasn't applied in proxmox.
I'm using the current API Class dev-master 375f70a
and php-curl-class 8.10.0
superkrebs13 commented
Closed.
It's a perm issue wihin proxmox.
https://forum.proxmox.com/threads/set-features-via-http-api2-doesnt-work.102966/
KR
Nico