File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build iPXE ISO
2+
3+ on :
4+ push :
5+ branches :
6+ - main # Adjust the branch name if needed
7+ workflow_dispatch : # Allow manual triggering
8+
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Install dependencies
16+ run : |
17+ sudo apt-get update
18+ sudo apt-get install -y curl make
19+
20+ - name : Clone iPXE repository
21+ run : git clone https://github.com/ipxe/ipxe.git
22+
23+ - name : Prepare certificates
24+ run : |
25+ cd ipxe/src
26+ curl -s http://ca.ipxe.org/ca.crt > ca.pem
27+ curl -s https://letsencrypt.org/certs/isrgrootx1.pem > isrgrootx1.pem
28+ curl -s https://letsencrypt.org/certs/lets-encrypt-r3.pem > lets-encrypt-r3.pem
29+
30+ - name : Prepare embedded script
31+ run : |
32+ cat << EOF > script.ipxe
33+ #!ipxe
34+ dhcp
35+ chain https://boot.karmacomputing.co.uk/boot.txt
36+ EOF
37+
38+ - name : Build iPXE ISO
39+ run : |
40+ make \
41+ -C ipxe/src \
42+ DEBUG=tls,httpcore,x509,certstore \
43+ CERT=ca.pem,isrgrootx1.pem,lets-encrypt-r3.pem \
44+ TRUST=ca.pem,isrgrootx1.pem,lets-encrypt-r3.pem \
45+ bin/ipxe.iso \
46+ EMBED=script.ipxe
You can’t perform that action at this time.
0 commit comments