Table of Contents

VMware GuestInfo settings

Name

  VMWARE_SETTINGS

Header file

Configured via config/settings.h.

Examples

Enable VMware GuestInfo settings

  #define VMWARE_SETTINGS        /* VMware GuestInfo settings */

Description

This build option enables support for VMware GuestInfo settings.

GuestInfo settings can be configured in the .vmx file that defines the virtual machine. The general syntax for a GuestInfo setting is

  guestinfo.ipxe[.<network device>].<setting name>[.<setting type>] = "<value>"

For example:

  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.filename = "http://boot.ipxe.org/demo/boot.php"
  guestinfo.ipxe.dns = "192.168.0.1"
  
  guestinfo.ipxe.scriptlet = "ifopen net0 && chain ${filename}"

See also

Notes

You can use an embedded script (or the scriptlet setting) to avoid the use of DHCP. For example, if you define the GuestInfo settings:

  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.filename = "http://boot.ipxe.org/demo/boot.php"
  guestinfo.ipxe.dns = "192.168.0.1"

and use the embedded script:

  #!ipxe
  
  ifopen net0
  chain ${filename}

then the virtual machine will be able to boot using the static IP address configured in the .vmx file.