From 943864231aa4caf367ae86a066c1ef63c3d17d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 8 Jan 2019 19:45:19 -0800 Subject: Rename example-templates-configs to data-dir --- configs/data-dir/ipxe/centos.ipxe.slc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 configs/data-dir/ipxe/centos.ipxe.slc (limited to 'configs/data-dir/ipxe/centos.ipxe.slc') diff --git a/configs/data-dir/ipxe/centos.ipxe.slc b/configs/data-dir/ipxe/centos.ipxe.slc new file mode 100644 index 0000000..88b3fc2 --- /dev/null +++ b/configs/data-dir/ipxe/centos.ipxe.slc @@ -0,0 +1,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}} -- cgit v1.2.3