aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe/centos.ipxe.slc
diff options
context:
space:
mode:
authorZalewski, Marvyn-Stephano <marvyn-stephano.zalewski@immonet.de>2018-08-03 16:36:11 +0200
committerZalewski, Marvyn-Stephano <marvyn-stephano.zalewski@immonet.de>2018-08-03 16:36:11 +0200
commitfa5c15e098c270241248bc2ff54882ffaeb7465d (patch)
tree2647f97264f10d82fe2687850b3bbd12a22bd29e /configs/example-templates-configs/ipxe/centos.ipxe.slc
parent8f3439bbff2de768a90bce3a5c5bb5a48ac0904b (diff)
added centos example and example kickstart file
Diffstat (limited to 'configs/example-templates-configs/ipxe/centos.ipxe.slc')
-rw-r--r--configs/example-templates-configs/ipxe/centos.ipxe.slc14
1 files changed, 14 insertions, 0 deletions
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}}
nihil fit ex nihilo