diff options
author | Simon Rettberg | 2019-02-15 15:55:10 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-15 15:55:10 +0100 |
commit | bc9aa8105db4742255265a35594fafc93269d59d (patch) | |
tree | 338dd9588519ed2b996c675a920160258c8762ba /modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php | |
parent | [dozmod] Add UI to create preset network rules (diff) | |
parent | [serversetup-bwlp-ipxe] ipxe script: Don't load unused png (diff) | |
download | slx-admin-bc9aa8105db4742255265a35594fafc93269d59d.tar.gz slx-admin-bc9aa8105db4742255265a35594fafc93269d59d.tar.xz slx-admin-bc9aa8105db4742255265a35594fafc93269d59d.zip |
Merge branch 'ipxe'
Diffstat (limited to 'modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php')
-rw-r--r-- | modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php b/modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php new file mode 100644 index 00000000..baa7a1bf --- /dev/null +++ b/modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php @@ -0,0 +1,9 @@ +<?php + +$data = Property::getBootMenu(); +$data['ipaddress'] = Property::getServerIp(); +$task = Taskmanager::submit('CompileIPxeLegacy', $data); +if (!isset($task['id'])) + return false; +Property::set('ipxe-task-id', $task['id'], 15); +return $task['id'];
\ No newline at end of file |