forked from ungleich-public/cdist
Evilham
cf44c4a01b
By abstracting away vendor-dependent pattern matching for the linux code, we can re-use that and be reasonably sure about OpenBSD machines being virtualised when we can identify the undelrying virtualisation technology. It remains to be solved how to tell if an OpenBSD machine is physical; in that case previous cdist behaviour ("unknown") remains. For NetBSD something similar to OpenBSD could be done, with different sysctls: hw.machine and hw.model wary of adding those without testing though, so for NetBSD previous cdist behaviour ("unknown") remains. https://netbsd.gw.com/cgi-bin/man-cgi?sysctl+7.i386+NetBSD-9.0 |
||
---|---|---|
.. | ||
conf | ||
core | ||
exec | ||
preos/debootstrap | ||
sphinxext | ||
test | ||
util | ||
__init__.py | ||
argparse.py | ||
autil.py | ||
banner.py | ||
config.py | ||
configuration.py | ||
emulator.py | ||
flock.py | ||
hostsource.py | ||
info.py | ||
install.py | ||
integration.py | ||
inventory.py | ||
log.py | ||
message.py | ||
mputil.py | ||
preos.py | ||
shell.py |