Just to be able to look in the "Virtual Systems" in spacewalk and see vmware vm's.
Is that what this code does? -----Original Message----- From: Cliff Perry [mailto:cpe...@redhat.com] Sent: Tuesday, July 05, 2011 10:34 PM To: spacewalk-devel@redhat.com Cc: Mullis, Josh (CCI-Atlanta) Subject: Re: [Spacewalk-devel] Detecting VMWARE systems as virtual On 07/05/2011 11:49 AM, josh.mul...@cox.com wrote: > Devs, > What file/function handles flagging a system as virtual? > We want to look into flagging VMWARE systems as a virtual system. > This has been asked several times on the user list. > One person found that adding the SYSTEM_ID to the RHNVIRTUALINSTANCE > table did the trick, but I was wanting a more elegant solution. > Thanks for any help. > -Josh > > > > _______________________________________________ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel To consume Flex entitlements - this is done here: http://git.fedorahosted.org/git/?p=spacewalk.git;a=blob;f=backend/server/handlers/xmlrpc/registration.py Line 45 - def parse_smbios(smbios) routine.. 73 elif serial.startswith('VMware-'): 74 if uuid is None: 75 uuid = "flex-guest" 76 return (rhnVirtualization.VirtualizationType.VMWARE, uuid) In short - we already have code to detect from hardware (smbios) data sent from client to server for us to flag VMware systems as virtual systems and allow them to consume out of a Flex entitlement pool. Of course for Spacewalk entitlements do not matter too much. Why / what are you trying to achieve here? Cliff _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel