File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1- www
21key *
2+ deploy /serve /www /*
3+ ! deploy /serve /www /bootfile
Original file line number Diff line number Diff line change 1+ #!ipxe
2+
3+ # The iPXE script below is based on:
4+ # https://boot.alpinelinux.org/boot.ipxe
5+
6+ ifopen
7+ ifstat
8+
9+ set iface net0
10+ echo Configuring ${iface}
11+ set ${iface}/ip:ipv4 192.168.0.248
12+ set ${iface}/netmask:ipv4 255.255.255.0
13+ set ${iface}/gateway:ipv4 192.168.0.1
14+ set ${iface}/dns:ipv4 192.168.0.1
15+ ifopen ${iface}
16+ ifstat
17+
18+ set console console=tty0
19+ set cmdline modules=loop,squashfs nomodeset
20+ set branch v3.20
21+ set flavor lts
22+ set arch x86_64
23+
24+ set web-server http://192.168.0.160:8080
25+ set boot-base-url ${web-server}/iso/alpine-netboot/boot
26+ set repo-url http://dl-cdn.alpinelinux.org/alpine/${branch}/main
27+ set sshkey-url ${web-server}/ssh/key.pub
28+ set alpine-dev tmpfs
29+
30+ set static-ip 192.168.0.248
31+ set static-gw 192.168.0.1
32+ set static-mask 255.255.255.0
33+ set static-dns 192.168.0.1
34+
35+ imgfree
36+ kernel ${boot-base-url}/vmlinuz-${flavor} ${cmdline} ${console} ip=${static-ip}::${static-gw}:${static-mask}::eth0:none:${static-dns} alpine_repo=${repo-url} modloop=${boot-base-url}/modloop-${flavor} alpine_dev=${alpine-dev} ssh_key=${sshkey-url}
37+ initrd ${boot-base-url}/initramfs-${flavor}
38+
39+ boot
You can’t perform that action at this time.
0 commit comments