This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
howto:vmware [2012/04/17 18:08] mcb30 |
howto:vmware [2012/04/17 18:14] mcb30 |
||
---|---|---|---|
Line 59: | Line 59: | ||
==== The VMware logfile console ==== | ==== 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. | + | 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: |
- | You can record the output from iPXE in this log by enabling the build option ''[[:buildcfg:CONSOLE_VMWARE]]''. For example: | ||
- | |||
- | | ||
2012-02-28T23:23:58.016Z| vmx| I120: Ethernet0 MAC Address: 00:0c:29:3a:7d:f2 | 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.145Z| vmx| I120: VMX_PowerOn: ModuleTable_PowerOn = 1 | ||
Line 72: | Line 69: | ||
2012-02-28T23:24:02.778Z| vcpu-0| I120: Guest: iPXE 1.0.0+ -- http://ipxe.org | 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 | 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 ==== | ==== VMware GuestInfo settings ==== | ||
- | You can configure | + | 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]]''. |