[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#538202: ITP: virt-what -- detect if we are running in a virtual machine

the easy usecase to me would be -- to install that package in every
Debian guest, adjust my bash/zsh configuration so if the tool is present
-- embed its output into the prompt. for now I use
/etc/debian_chroot within chroots to alert myself that 'I am not at
home' ;)

On Thu, 30 Jul 2009, Russell Coker wrote:

> On Sun, 26 Jul 2009, Manoj Srivastava <srivasta@debian.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.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]

Reply to: