This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
buildcfg:vmware_settings [2012/04/17 18:19] mcb30 created |
buildcfg:vmware_settings [2012/04/17 18:37] mcb30 |
||
---|---|---|---|
Line 19: | Line 19: | ||
This build option enables support for VMware GuestInfo settings. | This build option enables support for VMware GuestInfo settings. | ||
- | VMware GuestInfo settings can be configured in the ''.vmx'' file that defines the virtual machine. | + | 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 ===== | ===== See also ===== | ||
* [[:howto:vmware|Using iPXE in VMware]] | * [[:howto:vmware|Using iPXE in VMware]] | ||
+ | * [[:cfg|List of all iPXE settings]] | ||
* [[:buildcfg|List of all iPXE build options]] | * [[:buildcfg|List of all iPXE build options]] | ||
===== Notes ===== | ===== Notes ===== | ||
+ | You can use an [[:embed|embedded script]] (or the ''[[:cfg: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. | ||