Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howto:vmware [2012/01/06 23:49]
mcb30
howto:vmware [2012/04/17 18:40]
mcb30
Line 4: Line 4:
  
 ===== Selecting the network adapter ===== ===== Selecting the network adapter =====
- 
-{{ :​clipart:​nic.jpeg?​237x222|A network card}} 
  
 VMware is capable of emulating several network adapters: VMware is capable of emulating several network adapters:
 +
 +{{ :​clipart:​nic.jpeg?​237x222|A network card}}
  
 ^ VMware name  ^ iPXE driver name ^ PCI vendor:​device IDs ^ iPXE ROM image      | ^ VMware name  ^ iPXE driver name ^ PCI vendor:​device IDs ^ iPXE ROM image      |
Line 54: Line 54:
  
 {{ :​clipart:​smile.png?​200x200 |Success}} {{ :​clipart:​smile.png?​200x200 |Success}}
 +
 +===== Advanced features =====
 +
 +==== The VMware logfile console ====
 +
 +VMware creates a log file for each virtual machine, which is usually the file ''​vmware.log''​ in the same directory as the virtual machine'​s ''​.vmx''​ file.  You can record the output from iPXE in this log.  For example:
 +
 +    2012-02-28T23:​23:​58.016Z| vmx| I120: Ethernet0 MAC Address: 00:​0c:​29:​3a:​7d:​f2
 +    2012-02-28T23:​23:​59.145Z| vmx| I120: VMX_PowerOn:​ ModuleTable_PowerOn = 1
 +    2012-02-28T23:​23:​59.356Z| vcpu-0| I120: Intel VT enabled.
 +    2012-02-28T23:​23:​59.359Z| vcpu-0| I120: VMM initialized.
 +    2012-02-28T23:​23:​59.362Z| vcpu-0| I120: Monitor has started
 +    2012-02-28T23:​24:​02.775Z| vcpu-0| I120: Guest:
 +    2012-02-28T23:​24:​02.778Z| vcpu-0| I120: Guest: iPXE 1.0.0+ --  http://​ipxe.org
 +    2012-02-28T23:​24:​02.781Z| vcpu-0| I120: Guest: Features: iSCSI HTTP DNS bzImage PXE PXEXT
 +
 +You can record output from iPXE in the VMware log file by enabling the build option ''​[[:​buildcfg:​CONSOLE_VMWARE]]''​.
 +
 +==== VMware GuestInfo settings ====
 +
 +You can configure iPXE settings directly in the virtual machine'​s ''​.vmx''​ file using VMware'​s GuestInfo feature. ​ For example, to configure a static IP address, default gateway, DNS server, and boot filename:
 +
 +    guestinfo.ipxe.net0.ip = "​192.168.0.15"​
 +    guestinfo.ipxe.net0.netmask = "​255.255.255.0"​
 +    guestinfo.ipxe.net0.gateway = "​192.168.0.1"​
 +    guestinfo.ipxe.dns = "​192.168.0.1"​
 +    guestinfo.ipxe.filename = "​http://​boot.ipxe.org/​demo/​boot.php"​
 +
 +This could be used in conjunction with an [[:​embed|embedded script]] to boot without using DHCP.  For example:
 +
 +    #!ipxe
 +    ​
 +    ifopen net0
 +    chain ${filename}
 +
 +You can enable the VMware GuestInfo settings using the build option ''​[[:​buildcfg:​VMWARE_SETTINGS]]''​.
  
howto/vmware.txt ยท Last modified: 2012/07/14 23:36 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.