How can I create a python script to get a server information base on these fields?
hostname, osrelease, if it's a virtual or physical server.
Output
hostname1, redhat 5.8, VMware
I have something like this:
import platform
print 'uname:', platform.uname()
print 'system :', platform.system()
print 'node :', platform.node()
print 'release :', platform.release()