From fa5c15e098c270241248bc2ff54882ffaeb7465d Mon Sep 17 00:00:00 2001 From: "Zalewski, Marvyn-Stephano" Date: Fri, 3 Aug 2018 16:36:11 +0200 Subject: added centos example and example kickstart file --- configs/example-templates-configs/ipxe/centos.ipxe.slc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 configs/example-templates-configs/ipxe/centos.ipxe.slc (limited to 'configs/example-templates-configs/ipxe') diff --git a/configs/example-templates-configs/ipxe/centos.ipxe.slc b/configs/example-templates-configs/ipxe/centos.ipxe.slc new file mode 100644 index 0000000..ce02a57 --- /dev/null +++ b/configs/example-templates-configs/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= +initrd ${base}/images/pxeboot/initrd.img +boot +{{end}} -- cgit v1.2.3 From 3217a7e7d025f8a86ba7a4d75d56be378386b5af Mon Sep 17 00:00:00 2001 From: hExPY Date: Fri, 3 Aug 2018 16:37:29 +0200 Subject: Update centos.ipxe.slc --- configs/example-templates-configs/ipxe/centos.ipxe.slc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/example-templates-configs/ipxe') diff --git a/configs/example-templates-configs/ipxe/centos.ipxe.slc b/configs/example-templates-configs/ipxe/centos.ipxe.slc index ce02a57..a884a76 100644 --- a/configs/example-templates-configs/ipxe/centos.ipxe.slc +++ b/configs/example-templates-configs/ipxe/centos.ipxe.slc @@ -8,7 +8,7 @@ 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= +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