summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-15 15:55:10 +0100
committerSimon Rettberg2019-02-15 15:55:10 +0100
commitbc9aa8105db4742255265a35594fafc93269d59d (patch)
tree338dd9588519ed2b996c675a920160258c8762ba /modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
parent[dozmod] Add UI to create preset network rules (diff)
parent[serversetup-bwlp-ipxe] ipxe script: Don't load unused png (diff)
downloadslx-admin-bc9aa8105db4742255265a35594fafc93269d59d.tar.gz
slx-admin-bc9aa8105db4742255265a35594fafc93269d59d.tar.xz
slx-admin-bc9aa8105db4742255265a35594fafc93269d59d.zip
Merge branch 'ipxe'
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
new file mode 100644
index 00000000..3ab81862
--- /dev/null
+++ b/modules-available/serversetup-bwlp-ipxe/inc/localboot.inc.php
@@ -0,0 +1,15 @@
+<?php
+
+class Localboot
+{
+
+ const PROPERTY_KEY = 'serversetup.localboot';
+
+ const BOOT_METHODS = [
+ 'AUTO' => 'iseq efi ${platform} && exit 1 || sanboot --no-describe',
+ 'EXIT' => 'exit 1',
+ 'COMBOOT' => 'chain /tftp/chain.c32 hd0',
+ 'SANBOOT' => 'sanboot --no-describe',
+ ];
+
+} \ No newline at end of file