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
buildcfg:vmware_settings [2012/04/17 18:22]
mcb30
buildcfg:vmware_settings [2014/01/13 10:42]
mcb30
Line 7: Line 7:
 ===== Header file ===== ===== Header file =====
  
-Configured via ''​[[http://​git.ipxe.org/​ipxe.git/​blob/​HEAD:/​src/​config/​sideband.h|config/sideband.h]]''​.+Configured via ''​[[http://​git.ipxe.org/​ipxe.git/​blob/​HEAD:/​src/​config/​settings.h|config/settings.h]]''​.
  
 ===== Examples ===== ===== Examples =====
Line 21: Line 21:
 GuestInfo settings can be configured in the ''​.vmx''​ file that defines the virtual machine. ​ The general syntax for a GuestInfo setting is GuestInfo settings can be configured in the ''​.vmx''​ file that defines the virtual machine. ​ The general syntax for a GuestInfo setting is
  
-    guestinfo.ipxe.<​setting>​[.<​type>​] = "<​value>"​ +    guestinfo.ipxe[.<​network device>].<​setting ​name>[.<setting ​type>] = "<​value>"​
- +
-or +
- +
-    guestinfo.ipxe.<​network device>​.<​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 =====
Line 38: Line 42:
 ===== 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.
  
buildcfg/vmware_settings.txt · Last modified: 2014/01/13 10:42 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.