aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc
diff options
context:
space:
mode:
authorRaúl Benencia <raul@thousandeyes.com>2018-04-13 16:30:31 -0700
committerRaúl Benencia <raul@thousandeyes.com>2018-05-11 15:02:34 -0700
commit77c172b823b64ebface655681ab0749b9d2f7081 (patch)
tree09c13e626eb95ae1d33e76ed683172eab1ab6c96 /configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc
First public commit
Diffstat (limited to 'configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc')
-rw-r--r--configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc b/configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc
new file mode 100644
index 0000000..e52f63c
--- /dev/null
+++ b/configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc
@@ -0,0 +1,16 @@
+{{define "ubuntu-minimal.ipxe" -}}
+#!ipxe
+
+echo This automatically overwrites data!
+echo Ubuntu {{.release}} minimal
+
+set mirror http://mirror.rackspace.com/ubuntu/dists/{{.release}}/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64
+
+chain http://{{.baseURL}}/configs/linux.cfg?hostname={{.hostname}}
+
+imgfree
+
+kernel ${mirror}/linux auto=true priority=critical initrd=initrd.gz preseed/url=http://{{.baseURL}}/configs/ubuntu-minimal.preseed ${linuxargs}
+initrd ${mirror}/initrd.gz
+boot
+{{end}}
nihil fit ex nihilo