aboutsummaryrefslogtreecommitdiff
path: root/configs/data-dir/ipxe/centos.ipxe.slc
blob: 88b3fc2016a85d398abbf56c43c87b7486a9fe04 (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=${hostname}&release=${release}
initrd ${base}/images/pxeboot/initrd.img
boot
{{end}}
nihil fit ex nihilo