aboutsummaryrefslogtreecommitdiff
path: root/configs/data-dir/ipxe/ubuntu-minimal.ipxe.slc
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2019-01-08 19:45:19 -0800
committerRaúl Benencia <rul@kalgan.cc>2019-01-08 19:45:19 -0800
commit943864231aa4caf367ae86a066c1ef63c3d17d41 (patch)
tree63f1f0b87c8753323ed24052dc114369c8e41a36 /configs/data-dir/ipxe/ubuntu-minimal.ipxe.slc
parentf08e7ef525d431223084184e5e234ed8acbecfc4 (diff)
Rename example-templates-configs to data-dir
Diffstat (limited to 'configs/data-dir/ipxe/ubuntu-minimal.ipxe.slc')
-rw-r--r--configs/data-dir/ipxe/ubuntu-minimal.ipxe.slc16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/data-dir/ipxe/ubuntu-minimal.ipxe.slc b/configs/data-dir/ipxe/ubuntu-minimal.ipxe.slc
new file mode 100644
index 0000000..e52f63c
--- /dev/null
+++ b/configs/data-dir/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