-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ipxe-1.3.2 file for harvester 1.3.2
- Loading branch information
1 parent
28b282f
commit fcb7a2d
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!ipxe | ||
set version v1.3.2 | ||
set base https://github.com/harvester/harvester/releases/download/${version} | ||
set harvesterreleasebase https://releases.rancher.com/harvester/${version} | ||
dhcp | ||
iflinkwait -t 5000 | ||
goto ${ifname} | ||
:net0 | ||
set address ${net0/mac} | ||
goto setupboot | ||
:net1 | ||
set address ${net1/mac} | ||
goto setupboot | ||
:net2 | ||
set address ${net2/mac} | ||
goto setupboot | ||
:net3 | ||
set address ${net3/mac} | ||
goto setupboot | ||
|
||
:setupboot | ||
kernel ${base}/harvester-${version}-vmlinuz-amd64 initrd=harvester-${version}-initrd-amd64 ip=dhcp net.ifnames=1 rd.cos.disable rd.noverifyssl root=live:${harvesterreleasebase}/harvester-${version}-rootfs-amd64.squashfs harvester.install.management_interface.interfaces="hwAddr:${address}" harvester.install.management_interface.method=dhcp harvester.install.management_interface.bond_options.mode=balance-tlb harvester.install.management_interface.bond_options.miimon=100 console=ttyS1,115200 harvester.install.automatic=true boot_cmd="echo include_ping_test=yes >> /etc/conf.d/net-online" harvester.install.config_url=https://metadata.platformequinix.com/userdata | ||
initrd ${base}/harvester-${version}-initrd-amd64 | ||
boot |