Skip to content

Commit

Permalink
Merge pull request #103 from rancherlabs/rodolfoalmeid-patch-1
Browse files Browse the repository at this point in the history
Create script ipxe-1.4.0-rc5
  • Loading branch information
dnoland1 authored Nov 6, 2024
2 parents aee48f1 + a521531 commit f1ae582
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ipxe/ipxe-1.4.0-rc5
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!ipxe
set version v1.4.0-rc5
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

0 comments on commit f1ae582

Please sign in to comment.