aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe/centos.ipxe.slc
diff options
context:
space:
mode:
authorHenk <hbokhoven@gmail.com>2018-12-02 16:51:07 +0100
committerHenk <hbokhoven@gmail.com>2018-12-02 16:51:07 +0100
commit24fffe626f7f57417d25016a129162704674bc46 (patch)
tree76fbcea62f8eef6b3d45efa6973b30db06a74fa0 /configs/example-templates-configs/ipxe/centos.ipxe.slc
parentd48586ba99e461b7238e3d86c771d28e7a57dd6c (diff)
Fixes in ipxe for Debian and CentOS
Diffstat (limited to 'configs/example-templates-configs/ipxe/centos.ipxe.slc')
-rw-r--r--configs/example-templates-configs/ipxe/centos.ipxe.slc4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/example-templates-configs/ipxe/centos.ipxe.slc b/configs/example-templates-configs/ipxe/centos.ipxe.slc
index a884a76..88b3fc2 100644
--- a/configs/example-templates-configs/ipxe/centos.ipxe.slc
+++ b/configs/example-templates-configs/ipxe/centos.ipxe.slc
@@ -1,14 +1,14 @@
{{define "centos.ipxe" -}}
#!ipxe
set hostname {{.hostname}}
-set release {{.release}}
+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
+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