[GH-ISSUE #8] lxc IP? #7

Closed
opened 2026-02-26 17:32:03 +03:00 by kerem · 2 comments
Owner

Originally created by @huglester on GitHub (Feb 1, 2020).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/8

$client->getNodes()->get("nodex")->getLxc()->Vmlist()

but this one does not have and IP address. Any way to get it?

thanks

Originally created by @huglester on GitHub (Feb 1, 2020). Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/8 $client->getNodes()->get("nodex")->getLxc()->Vmlist() but this one does not have and IP address. Any way to get it? thanks
kerem closed this issue 2026-02-26 17:32:03 +03:00
Author
Owner

@franklupo commented on GitHub (Feb 1, 2020):

Hi,
loop for any ct and read config

<!-- gh-comment-id:581009964 --> @franklupo commented on GitHub (Feb 1, 2020): Hi, loop for any ct and read config
Author
Owner

@huglester commented on GitHub (Feb 1, 2020):

thanks.
so basically this:

$client->getNodes()->get("nodex")->getLxc()->get(1001)->getConfig()->getRest()->getResponse()

<!-- gh-comment-id:581010517 --> @huglester commented on GitHub (Feb 1, 2020): thanks. so basically this: $client->getNodes()->get("nodex")->getLxc()->get(1001)->getConfig()->getRest()->getResponse()
kerem changed title from [GH-ISSUE #8] lxc IP? to [GH-ISSUE #8] lxc IP? 2026-02-27 12:35:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-api-php#7
No description provided.