Comment 12 for bug 1414153

Revision history for this message
Chris J Arges (arges) wrote :

Ok so that particular tool is packaged with the 'systemd' package. For example:
ubuntu@vivid:~$ systemd-detect-virt -v
kvm

And it will return 0 if we're on a virt platform. This would be nice to use on vivid, but we don't really have a systemd script yet. So a few options:
1) Dep on systemd package, and run this program to check for virt in the upstart or init script.
2) Ensure upstart has the right bash equivalent and just check like that.
3) Properly add a systemd conf file to debian, and amend that properly...

--chris