Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot ESXi installer and install to iSCSI
2013-05-23, 18:48
Post: #6
RE: Boot ESXi installer and install to iSCSI
Just thought I'd post an update, I seem to have it all working now besides a few issues with ESXi not saving configs.

I added a new PXE VLAN, set DHCP on this and setup network booting of iPXE with the following script

Code:
#!ipxe

set boot-url http://10.0.5.10/pxe
set bootstrap-url ${boot-url}/bootstrap
set menu-url ${boot-url}/menu.ipxe

# Boot <boot-url>/bootstrap/hostname/<hostname>
# if hostname DHCP variable is set and script is present
isset ${hostname} && chain --replace --autofree ${bootstrap-url}/hostname/${hostname} && exit ||

# Boot <boot-url>/bootstrap/uuid/<UUID>
# if uuid SMBIOS variable is set and script is present
isset ${uuid} && chain --replace --autofree ${bootstrap-url}/uuid/${uuid} && exit ||

# Boot <boot-url>/bootstrap/mac/01-02-03-04-05-06 if script is present
chain --replace --autofree ${bootstrap-url}/mac/${mac:hexhyp} && exit ||

# Boot <boot-url>/bootstrap/bus/01-80-86-10-0e if PCI Intel adapter
# is present and script is present
chain --replace --autofree ${bootstrap-url}/bus/${busid:hexhyp} && exit ||

# Boot <boot-url>/menu.ipxe script if all other options have been exhausted
chain --replace --autofree ${menu-url}

On the switch I set the normal VLANs to tagged on the network port, then my PXE VLAN as untagged.
DHCP picks up an IP no problem, then I can boot the iSCSI volume no issue Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Boot ESXi installer and install to iSCSI - nry - 2013-05-23 18:48



User(s) browsing this thread: 1 Guest(s)