Re: Bug#538202: ITP: virt-what -- detect if we are running in a virtual machine
On Sun, 26 Jul 2009, Manoj Srivastava <firstname.lastname@example.org> wrote:
> So the script is is only expected to tell if the machine it
> finds itself running in happens to have the signature of a known
> virtual machine flavour. It is not supposed to determine if it is
> turtles all the way down.
Being able to scp that script to a random machine could be handy. But what is
the benefit in having it installed in Debian? Anyone who has problems
remembering which virtualisation technology is used for each virtual server
could easily modify /etc/motd to have the full details. The same access
rights are required for installing a Debian package as for editing /etc/motd.
One thing that would be handy is a script that runs ssh to connect to a server
and then interrogates it. Such a script would ideally be able to identify
various versions of BSD and Solaris as well. Including the virt-what
functionality in such a script would be good.
http://etbe.coker.com.au/ My Main Blog
http://doc.coker.com.au/ My Documents Blog