aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe/coreos.ipxe.slc
blob: 64685ff57e36e755a9dd70135d1f0b1b3b3ef0cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{define "coreos.ipxe" -}}
#!ipxe

set coreos-url http://stable.release.core-os.net/amd64-usr/current

echo This will currently autologin into tty1 on the console.
echo From there you can su to root and install CoreOS to disk using:
echo coreos-install -d /dev/sda -C {{.release}}
echo You will probably need to chroot into /dev/sda9 to configure accounts.
echo More info @ http://coreos.com/docs/running-coreos/bare-metal/installing-to-disk/

kernel ${coreos-url}/coreos_production_pxe.vmlinuz cloud-config-url=http://{{.baseURL}}/configs/cloudconfig-coreos?release={{.release}}&hostname={{.hostname}} console=tty1 coreos.autologin=tty1
initrd ${coreos-url}/coreos_production_pxe_image.cpio.gz

boot
{{end}}
nihil fit ex nihilo