aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe/centos.ipxe.slc
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2018-12-04 12:10:28 -0800
committerGitHub <noreply@github.com>2018-12-04 12:10:28 -0800
commitf08e7ef525d431223084184e5e234ed8acbecfc4 (patch)
tree4ffd767bb676687a593c6d31e69a339dcc9ff82e /configs/example-templates-configs/ipxe/centos.ipxe.slc
parentd48586ba99e461b7238e3d86c771d28e7a57dd6c (diff)
parent6b22845a5ab9d1b75da6da9e224e5a4f0ca22b1c (diff)
Merge pull request #2 from hbokh/master
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