aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg16/dhcp/v6-pxe-boot.conf
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2016-03-29 23:57:35 +0200
committerJoachim Tingvold <joachim@tingvold.com>2016-03-29 23:57:35 +0200
commitfefa87ebf2b2e001a18666e0eb160cb84282f5ba (patch)
tree55236e0398f602e024ce4f07341812544bd945c3 /examples/tg16/dhcp/v6-pxe-boot.conf
parent69722b70c1f07fd728388e8dcd2c3440ca4468be (diff)
TG16-config.
Diffstat (limited to 'examples/tg16/dhcp/v6-pxe-boot.conf')
-rw-r--r--examples/tg16/dhcp/v6-pxe-boot.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/tg16/dhcp/v6-pxe-boot.conf b/examples/tg16/dhcp/v6-pxe-boot.conf
new file mode 100644
index 0000000..a6f988a
--- /dev/null
+++ b/examples/tg16/dhcp/v6-pxe-boot.conf
@@ -0,0 +1,10 @@
+option dhcp6.bootfile-url code 59 = string;
+option dhcp6.client-arch-type code 61 = array of unsigned integer 16;
+
+if option dhcp6.client-arch-type = 00:07 {
+ option dhcp6.bootfile-url "tftp://[2a06:5841:1337::2]/bootx64.efi";
+} else {
+ # support a hypothetical BIOS system that can PXE boot over IPv6
+ option dhcp6.bootfile-url "tftp://[2a06:5841:1337::2]/pxelinux.0";
+}
+