summaryrefslogtreecommitdiffstats
path: root/src/config
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
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')
-rw-r--r--src/config/config.c5
-rw-r--r--src/config/sideband.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 513f054f7..4ce1909dc 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
diff --git a/src/config/sideband.h b/src/config/sideband.h
index 5385dd721..a16c2e37c 100644
--- a/src/config/sideband.h
+++ b/src/config/sideband.h
@@ -10,5 +10,6 @@
FILE_LICENCE ( GPL2_OR_LATER );
//#define CONFIG_BOFM /* IBM's BladeCenter Open Fabric Manager */
+//#define VMWARE_SETTINGS /* VMware GuestInfo settings */
#endif /* CONFIG_SIDEBAND_H */