summaryrefslogtreecommitdiffstats
path: root/src/config/config.c
diff options
context:
space:
mode:
authorMichael Brown2012-03-01 16:58:08 +0100
committerMichael Brown2012-04-17 18:47:33 +0200
commita9cf527641bde04b6a09891ebc0696e28eaea188 (patch)
tree57a7a2bb15bad2fd749357e6579696be5bcd41af /src/config/config.c
parent[tftp] Allow builds without TFTP support (diff)
downloadipxe-a9cf527641bde04b6a09891ebc0696e28eaea188.tar.gz
ipxe-a9cf527641bde04b6a09891ebc0696e28eaea188.tar.xz
ipxe-a9cf527641bde04b6a09891ebc0696e28eaea188.zip
[vmware] Allow settings to be specified in the VMware .vmx file
Allow iPXE settings to be specified in the .vmx file via the VMware GuestInfo mechanism. For example: guestinfo.ipxe.filename = "http://boot.ipxe.org/demo/boot.php" guestinfo.ipxe.dns = "192.168.0.1" guestinfo.ipxe.net0.ip = "192.168.0.15" guestinfo.ipxe.net0.netmask = "255.255.255.0" guestinfo.ipxe.net0.gateway = "192.168.0.1" Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config.c')
-rw-r--r--src/config/config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 513f054f..4ce1909d 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -280,13 +280,16 @@ REQUIRE_OBJECT ( tap );
#endif
/*
- * Drag in relevant BOFM entry points
+ * Drag in relevant sideband entry points
*/
#ifdef CONFIG_BOFM
#ifdef BOFM_EFI
REQUIRE_OBJECT ( efi_bofm );
#endif /* BOFM_EFI */
#endif /* CONFIG_BOFM */
+#ifdef VMWARE_SETTINGS
+REQUIRE_OBJECT ( guestinfo );
+#endif /* VMWARE_SETTINGS */
/*
* Drag in selected keyboard map