aboutsummaryrefslogtreecommitdiff
path: root/configs/data-dir/ipxe/storage.ipxe.slc
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2019-01-09 07:03:53 -0800
committerGitHub <noreply@github.com>2019-01-09 07:03:53 -0800
commit70bb90ae82abb46c0434d806cfd79e25b7c0098d (patch)
tree0897c238912e95794d5a74345837ea4b352662c7 /configs/data-dir/ipxe/storage.ipxe.slc
parentf08e7ef525d431223084184e5e234ed8acbecfc4 (diff)
parent5e8ae5156c72593eb24dd125db32e860f59be820 (diff)
Merge pull request #3 from rul/doc
Tidy up example files and add an scdoc manpage
Diffstat (limited to 'configs/data-dir/ipxe/storage.ipxe.slc')
-rw-r--r--configs/data-dir/ipxe/storage.ipxe.slc16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/data-dir/ipxe/storage.ipxe.slc b/configs/data-dir/ipxe/storage.ipxe.slc
new file mode 100644
index 0000000..457dad7
--- /dev/null
+++ b/configs/data-dir/ipxe/storage.ipxe.slc
@@ -0,0 +1,16 @@
+{{define "storage.ipxe" -}}
+#!ipxe
+
+echo This automatically overwrites data!
+echo Ubuntu {{.release}} amd64 storage
+
+set mirror http://mirror.rackspace.com/ubuntu/dists/{{.release}}/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64
+
+chain --autofree http://{{.baseURL}}/configs/linux.cfg?hostname={{.hostname}}
+
+imgfree
+
+kernel ${mirror}/linux auto=true priority=critical initrd=initrd.gz preseed/url=http://{{.baseURL}}/configs/storage.preseed ${linuxargs}
+initrd ${mirror}/initrd.gz
+boot
+{{end}} \ No newline at end of file
nihil fit ex nihilo