[Users] Obtain VM name from within VM?

Jonathan Daugherty jtd at galois.com
Fri May 24 23:07:20 UTC 2013


Hi,

I'm interested to know whether it is possible to obtain a VM's name from
within a VM.  In particular I'd like to obtain VM names from within
Linux guests for the purpose of setting up dynamic DNS based on the VM
name.  I don't see the VM name in the output of dmidecode and there
doesn't appear to be an entry in the ovirt guest API to obtain it.  (In
any case I can't run the ovirt guest agent on my VMs, so I'd like some
other way to get it.)

Thanks!

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.



More information about the Users mailing list