Skip to content

Commit 00b4cab

Browse files
committed
Un-ignore bootfile
1 parent f1de7bd commit 00b4cab

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
www
21
key*
2+
deploy/serve/www/*
3+
!deploy/serve/www/bootfile

deploy/serve/www/bootfile

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

0 commit comments

Comments
 (0)