aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe
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
parentd48586ba99e461b7238e3d86c771d28e7a57dd6c (diff)
Fixes in ipxe for Debian and CentOS
Diffstat (limited to 'configs/example-templates-configs/ipxe')
-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