aboutsummaryrefslogtreecommitdiff
path: root/configs/example-templates-configs/ipxe
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/example-templates-configs/ipxe
parentf08e7ef525d431223084184e5e234ed8acbecfc4 (diff)
parent5e8ae5156c72593eb24dd125db32e860f59be820 (diff)
Merge pull request #3 from rul/doc
Tidy up example files and add an scdoc manpage
Diffstat (limited to 'configs/example-templates-configs/ipxe')
-rw-r--r--configs/example-templates-configs/ipxe/centos.ipxe.slc14
-rw-r--r--configs/example-templates-configs/ipxe/coreos.ipxe.slc16
-rw-r--r--configs/example-templates-configs/ipxe/debian.ipxe.slc16
-rw-r--r--configs/example-templates-configs/ipxe/linux.cfg.slc15
-rw-r--r--configs/example-templates-configs/ipxe/storage.ipxe.slc16
-rw-r--r--configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc16
6 files changed, 0 insertions, 93 deletions
diff --git a/configs/example-templates-configs/ipxe/centos.ipxe.slc b/configs/example-templates-configs/ipxe/centos.ipxe.slc
deleted file mode 100644
index 88b3fc2..0000000
--- a/configs/example-templates-configs/ipxe/centos.ipxe.slc
+++ /dev/null
@@ -1,14 +0,0 @@
-{{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}}
diff --git a/configs/example-templates-configs/ipxe/coreos.ipxe.slc b/configs/example-templates-configs/ipxe/coreos.ipxe.slc
deleted file mode 100644
index 64685ff..0000000
--- a/configs/example-templates-configs/ipxe/coreos.ipxe.slc
+++ /dev/null
@@ -1,16 +0,0 @@
-{{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}} \ No newline at end of file
diff --git a/configs/example-templates-configs/ipxe/debian.ipxe.slc b/configs/example-templates-configs/ipxe/debian.ipxe.slc
deleted file mode 100644
index 8717d5e..0000000
--- a/configs/example-templates-configs/ipxe/debian.ipxe.slc
+++ /dev/null
@@ -1,16 +0,0 @@
-{{define "debian.ipxe" -}}
-#!ipxe
-
-echo This automatically overwrites data!
-echo Debian {{.release}}
-
-set mirror http://ftp.debian.org/debian/dists/{{.release}}/main/installer-amd64/current/images/netboot/debian-installer/amd64
-
-chain http://{{.baseURL}}/configs/linux.cfg?hostname={{.hostname}}
-
-imgfree
-
-kernel ${mirror}/linux auto=true priority=critical initrd=initrd.gz keyboard-configuration/xkb-keymap=us preseed/url=http://{{.baseURL}}/configs/debian.preseed ${linuxargs}
-initrd ${mirror}/initrd.gz
-boot
-{{end}}
diff --git a/configs/example-templates-configs/ipxe/linux.cfg.slc b/configs/example-templates-configs/ipxe/linux.cfg.slc
deleted file mode 100644
index 512f7f2..0000000
--- a/configs/example-templates-configs/ipxe/linux.cfg.slc
+++ /dev/null
@@ -1,15 +0,0 @@
-{{define "linux.cfg" -}}
-#!ipxe
-
-# We set VGA to normal and nomodeset because often the framebuffers
-# are extraordinarily slow.
-
-# Two serial interfaces enabled, hopefully one for local and one for remote
-# on Dells with iDRAC/iKVM (serial over lan).
-
-# libata.force=noncq for https://bbs.archlinux.org/viewtopic.php?id=196267
-# We probably want ncq for harddrives, but we don't have many of those.
-# queued trim is broken with our 850PRO/Linux combo, or maybe entirely on the Samsung 850 PRO SSDs
-
-set linuxargs hostname={{.hostname}} console=tty0 console=ttyS0,115200n8 console=ttyS1,115200n8 vga=normal biosdevname=0 nomodeset interface=auto libata.force=noncq consoleblank=0
-{{end}} \ No newline at end of file
diff --git a/configs/example-templates-configs/ipxe/storage.ipxe.slc b/configs/example-templates-configs/ipxe/storage.ipxe.slc
deleted file mode 100644
index 457dad7..0000000
--- a/configs/example-templates-configs/ipxe/storage.ipxe.slc
+++ /dev/null
@@ -1,16 +0,0 @@
-{{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
diff --git a/configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc b/configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc
deleted file mode 100644
index e52f63c..0000000
--- a/configs/example-templates-configs/ipxe/ubuntu-minimal.ipxe.slc
+++ /dev/null
@@ -1,16 +0,0 @@
-{{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