forked from netbootxyz/netboot.xyz-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.ipxe
24 lines (19 loc) · 790 Bytes
/
custom.ipxe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!ipxe
# Debian Operating System
# http://www.debian.org
goto deb_preseed
:deb_preseed
set install_params auto=true priority=critical interface=eno1 hostname=provisioner-master preseed/url=http://USER:[email protected]/mytorrent/Soft/preseed.cfg
set netcfg netcfg/get_ipaddress=172.16.7.2 netcfg/get_netmask=255.255.255.0 netcfg/get_gateway=172.16.7.1 netcfg/get_nameservers=8.8.8.8 netcfg/disable_autoconfig=true
goto deb_text
:deb_text
set dir debian/dists/bullseye/main/installer-amd64/current/images/netboot/debian-installer/amd64
goto deb_boot
:deb_boot
imgfree
kernel http://deb.debian.org/${dir}/linux ${install_params} ${netcfg} mirror/suite=bullseye initrd=initrd.magic ${cmdline}
initrd http://deb.debian.org/${dir}/initrd.gz
echo
echo MD5sums:
md5sum linux initrd.gz
boot