Skip to content

Instantly share code, notes, and snippets.

@sigma
Last active August 29, 2015 14:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sigma/6429dc24e38a5d0dd1bc to your computer and use it in GitHub Desktop.
vmw-test container run
$ docker run sigma/vmw-vmtest
You are running on VMware ESX(i)
An OVF environment is defined: <?xml version="1.0" encoding="UTF-8"?>
<Environment
xmlns="http://schemas.dmtf.org/ovf/environment/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:oe="http://schemas.dmtf.org/ovf/environment/1"
xmlns:ve="http://www.vmware.com/schema/ovfenv"
oe:id=""
ve:vCenterId="vm-96699">
<PlatformSection>
<Kind>VMware ESXi</Kind>
<Version>5.5.0</Version>
<Vendor>VMware, Inc.</Vendor>
<Locale>en</Locale>
</PlatformSection>
<PropertySection>
<Property oe:key="guestinfo.cis.appliance.root.shell2" oe:value="/bin/bash"/>
<Property oe:key="guestinfo.user_data.url" oe:value="http://www.example.com"/>
</PropertySection>
<ve:EthernetAdapterSection>
<ve:Adapter ve:mac="02:00:12:6b:8e:48" ve:network="sc-rdops-vm09" ve:unitNumber="7"/>
</ve:EthernetAdapterSection>
</Environment>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment