diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-09-01 09:39:44 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-09-01 17:28:52 +0200 |
| commit | 322db61ed0b8c2fa69a178a4ecc14a8d356cb09c (patch) | |
| tree | 85adb6ba4371b7b5645eec9323b4749a762838df /scripts/cli | |
| parent | e94f0e47d742f3c8f228bf21907954008ade7ba0 (diff) | |
| download | vyos-1x-322db61ed0b8c2fa69a178a4ecc14a8d356cb09c.tar.gz vyos-1x-322db61ed0b8c2fa69a178a4ecc14a8d356cb09c.zip | |
version: T9269: report "container" as system type
A container shares the Kernel with its host and inherits its DMI and CPUID
data, thus hvinfo reports the hypervisor of the host system - a VyOS container
on a KVM host was described as "KVM guest".
Check is_running_as_container() first and report "container", otherwise fall
back to hvinfo as before. Note that boot_via and the hardware vendor, model,
serial and UUID fields are still derived from the host.
Diffstat (limited to 'scripts/cli')
0 files changed, 0 insertions, 0 deletions
