-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathboot.ipxe.cfg
executable file
·32 lines (25 loc) · 1.17 KB
/
boot.ipxe.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!ipxe
# OPTIONAL: Base URL used to resolve most other resources
# Should always end with a slash
set boot-url tftp://${next-server}/
set nas_ip 10.10.10.250
# OPTIONAL: What URL to use when sanbooting
# Usually ${boot-url} is used, but required until NFS supports block device API
# Should always end with a slash
set sanboot-url http://${nas_ip}:88/Install/
# OPTIONAL: Relative directory to boot.ipxe used to
# override boot script for specific clients
set boot-dir boot/
# REQUIRED: Absolute URL to the menu script, used by boot.ipxe
# and commonly used at the end of simple override scripts
# in ${boot-dir}.
set menu-url ${boot-url}menu.ipxe
# OPTIONAL: iSCSI server location and iSCSI IQNs
# Must be specified as an IP, some clients have issues with name resolution
# Initiator IQN is also calculated to use hostname, if present
set iscsi-server ${nas_ip}
set base-iqn iqn.2000-01.com.synology
set base-iscsi iscsi:10.10.10.250:::1:iqn.2000-01.com.synology:ipxe.ESXI
isset ${hostname} && set initiator-iqn ${base-iqn}:${hostname} || set initiator-iqn ${base-iqn}:${mac}
# OPTIONAL: URL to report memtest results to
set memtest-report-url http://boot.smidsrod.lan/memtest-report.cgi