| =gettext('Platform');?> | =vmm_h($sc['platform']);?> · =vmm_h($sc['product']);?> · =vmm_h($sc['os']);?> |
| PHP | =vmm_h($sc['php']);?> |
| =gettext('Extension root');?> | =vmm_h($sc['root']);?> |
| vm_dir | =vmm_h($sc['vm_dir']);?> |
| =gettext('Kernel modules');?> |
vmm: =vmm_h($sc['kld']['vmm']);?> ·
nmdm: =vmm_h($sc['kld']['nmdm']);?>
|
| =gettext('Virtual machines');?> | =$sc['vm_count'];?> =gettext('total');?>, =$sc['vm_running'];?> =gettext('running');?> |
gettext('vm-bhyve'),
'grub' => gettext('grub-bhyve'),
'firmware' => gettext('UEFI firmware'),
'ttyd' => gettext('Web terminal (ttyd)'),
];
foreach ($rows as $key => $label):
$p = $sc[$key];
$ok = !empty($p['available']);
?>
| =$label;?> |
=$ok ? gettext('available') : gettext('missing');?>
· =gettext('source');?>: =vmm_h((string)$p['source']);?>
=vmm_h((string)$p['path']);?>
=vmm_h((string)$sc['vm']['version']['version']);?> (rev =vmm_h((string)($sc['vm']['version']['rev'] ?? '?'));?>)
=vmm_h((string)$sc['firmware']['mtime']);?> · =vmm_h(vmm_human_bytes((int)$sc['firmware']['size']));?>
|
| =gettext('Update policy');?> | vm_source = =vmm_h((string)$conf['vm_source']);?> — =gettext('the system installation always wins; the bundle only fills gaps.');?> |
| =gettext('Datastore');?> |
=vmm_h(implode(' · ', array_map('strval', $ds)));?> |
| =gettext('Datastore');?> | =gettext('none reported');?> |
| =gettext('Switch');?> |
=vmm_h(implode(' · ', array_map('strval', $sw)));?> |
=gettext('Raw self-check (JSON)');?>
=vmm_h(json_encode($sc, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));?>
|