Cfengine Help: Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: OT (maybe) how to detect virtual machines Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,18717,18730#msg-18730 Yes, dmidecode is very handy this way. ___ Help-cfengine mailing list Help

Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread Natxo Asenjo
On Thu, Oct 14, 2010 at 1:50 PM, Davide Brini wrote: > > This may help: > > http://serverfault.com/questions/78343/renting-a-dedicated-but-getting-a-vps- > how-to-detect thanks! the lspci tip will do the trick. -- natxo ___ Help-cfengine mailing list

Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread Tim Cutts
I detect VMware by looking for the string VMware in the output of dmidecode. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered of

Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread Jakub Viták
Sorry guys. I need to reed all posts fully (and maybe more times) before any response. > Right now I have a self maintained class virtual where -- J. On 10/14/2010 02:07 PM, Jakub Viták wrote: > Hi. > > When I saw the article I had very crazy idea. > > You could write promise which will set

Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread Jakub Viták
Hi. When I saw the article I had very crazy idea. You could write promise which will set Virtual class - or report directly - if it detects on of those files or any other "symptoms". This is only for fun ;-) Jakub V. On 10/14/2010 01:50 PM, Davide Brini wrote: > http://serverfault.com/quest

Cfengine Help: Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread no-reply
Forum: Cfengine Help Subject: Re: OT (maybe) how to detect virtual machines Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18717,18719#msg-18719 If you look at the hard classes the agent defines you'll see if it detects anything virtual. I think that the l

Re: OT (maybe) how to detect virtual machines

2010-10-14 Thread Davide Brini
On Thursday 14 Oct 2010 12:41:02 Natxo Asenjo wrote: > sorry for asking something that is not directly related to CFengine, > but as many of you will probably have virtual environments you > probably know the answer. > > How can you detect if a host is a vm (esx vm, in my case)? Right now I > hav

OT (maybe) how to detect virtual machines

2010-10-14 Thread Natxo Asenjo
hi, sorry for asking something that is not directly related to CFengine, but as many of you will probably have virtual environments you probably know the answer. How can you detect if a host is a vm (esx vm, in my case)? Right now I have a self maintained class virtual where I add manually hosts