Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 350 Bytes

host.md

File metadata and controls

24 lines (16 loc) · 350 Bytes

LXD server information

NOTE: If you haven't setup your LXD server, read configuration.md

To get information on the LXD server:

<?php

$info = $lxd->host->info();

Test if this client is trusted by the LXD server

<?php

if ($lxd->host->trusted()) {
    echo 'trusted';
} else {
    echo 'not trusted';
}