aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs
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
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')
-rw-r--r--configs/example-templates-configs/ipxe/centos.ipxe.slc4
-rw-r--r--configs/example-templates-configs/ipxe/debian.ipxe.slc2
2 files changed, 3 insertions, 3 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}}
diff --git a/configs/example-templates-configs/ipxe/debian.ipxe.slc b/configs/example-templates-configs/ipxe/debian.ipxe.slc
index 817b9ff..8717d5e 100644
--- a/configs/example-templates-configs/ipxe/debian.ipxe.slc
+++ b/configs/example-templates-configs/ipxe/debian.ipxe.slc
@@ -10,7 +10,7 @@ chain http://{{.baseURL}}/configs/linux.cfg?hostname={{.hostname}}
imgfree
-kernel ${mirror}/linux auto=true priority=critical initrd=initrd.gz preseed/url=http://{{.baseURL}}/configs/debian.preseed ${linuxargs}
+kernel ${mirror}/linux auto=true priority=critical initrd=initrd.gz keyboard-configuration/xkb-keymap=us preseed/url=http://{{.baseURL}}/configs/debian.preseed ${linuxargs}
initrd ${mirror}/initrd.gz
boot
{{end}}
nihil fit ex nihilo