mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Update libvirt-vminfo.inc.php
This commit is contained in:
@@ -10,7 +10,7 @@ if ($config['enable_libvirt'] == '1' && $device['os'] == 'linux') {
|
||||
$ssh_ok = 0;
|
||||
|
||||
$userHostname = $device['hostname'];
|
||||
if (!is_null($config['libvirt_username'])) {
|
||||
if (isset($config['libvirt_username'])) {
|
||||
$userHostname = $config['libvirt_username'].'@'.$userHostname;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user