aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe/centos.ipxe.slc
blob: ce02a57cbaf43a03248441026546e0da62bbe12f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{define "centos.ipxe" -}}
#!ipxe
set hostname {{.hostname}}
set release {{.release}}  
set base http://mirror.centos.org/centos/${release}/os/x86_64

echo This automatically overwrites data!
echo CentOS ${release}
echo Installing ${hostname}

kernel ${base}/images/pxeboot/vmlinuz initrd=initrd.img repo=${base} ks=http://{{.baseURL}}/configs/centos.ks?hostname=
initrd ${base}/images/pxeboot/initrd.img
boot
{{end}}
nihil fit ex nihilo