Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
pxechaining [2010/01/31 18:01] owen |
pxechaining [2010/07/14 09:10] vutcovici |
||
---|---|---|---|
Line 61: | Line 61: | ||
# host part, a VM that will be booted from network | # host part, a VM that will be booted from network | ||
# 00:0C:29 - the MAC part of VMware vendor - we are booting a VM | # 00:0C:29 - the MAC part of VMware vendor - we are booting a VM | ||
- | dhcp-host=00:0c:29:aa:bb:cc,gPXE-client,net:gPXE-PCnet32,192.168.10.100,10m | + | # here we chainload gPXE |
- | dhcp-boot=net:gPXE-PCnet32,gpxe-git-pcnet32.pxe | + | dhcp-host=00:0c:29:aa:bb:cc,gPXE-client,net:gPXE-testVM,192.168.10.100,10m |
+ | dhcp-boot=net:gPXE-testVM,undionly.kpxe | ||
+ | # for a gPXE enabled client we are asking him to boot from a image located at an URL. The image can be a gPXE script | ||
dhcp-userclass=gPXE-booted,"gPXE" | dhcp-userclass=gPXE-booted,"gPXE" | ||
dhcp-boot=net:gPXE-booted,http://my.web.server/real_boot_script.php | dhcp-boot=net:gPXE-booted,http://my.web.server/real_boot_script.php | ||
- | The file gpxe-git-pcnet32.pxe is located in the /tftproot/ folder. | + | The file undionly.kpxe is located in the /tftproot/ folder. |
+ | To build undionly.kpxe run: | ||
+ | wget http://kernel.org/pub/software/utils/boot/gpxe/gpxe-1.0.1.tar.bz2 | ||
+ | tar jxf gpxe-1.0.1.tar.bz2 | ||
+ | cd gpxe-1.0.1/src | ||
+ | make DEBUG=http,iscsi,tftp,dhcp bin/undionly.kpxe;sudo cp bin/undionly.kpxe /tftproot/undionly.kpxe | ||
==== Using the Windows DHCP server ==== | ==== Using the Windows DHCP server ==== |