diff options
author | Raúl Benencia <rul@kalgan.cc> | 2018-08-03 10:20:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-03 10:20:05 -0700 |
commit | d48586ba99e461b7238e3d86c771d28e7a57dd6c (patch) | |
tree | c71fb69413283e1fb428241c1a5a2bc25ecf1e39 /configs/example-templates-configs/ipxe | |
parent | 8f3439bbff2de768a90bce3a5c5bb5a48ac0904b (diff) | |
parent | 3217a7e7d025f8a86ba7a4d75d56be378386b5af (diff) |
Merge pull request #1 from hExPY/masterv1.0.0
CentOS Example
Diffstat (limited to 'configs/example-templates-configs/ipxe')
-rw-r--r-- | configs/example-templates-configs/ipxe/centos.ipxe.slc | 14 |
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..a884a76 --- /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=$hostname&release=$release +initrd ${base}/images/pxeboot/initrd.img +boot +{{end}} |