diff options
author | Simon Rettberg | 2019-10-09 17:31:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-10-09 17:31:19 +0200 |
commit | f800abeea4f6c68182c51cd4aaea19d7636431c8 (patch) | |
tree | 802f9bcee14210b355cac211751449e31c71fbc0 /inc/taskmanagercallback.inc.php | |
parent | slx-fixes: Expose function for adding additional automatic confirm handlers (diff) | |
download | slx-admin-f800abeea4f6c68182c51cd4aaea19d7636431c8.tar.gz slx-admin-f800abeea4f6c68182c51cd4aaea19d7636431c8.tar.xz slx-admin-f800abeea4f6c68182c51cd4aaea19d7636431c8.zip |
[minilinux] Rewrite for multiple version/sources handling
* You can supply multiple sources for updates (URLs)
* Sources can provide multiple branches
* Each branch can supply multiple versions (eg. updates)
TODO: Set global default version
TODO: Supply hook to serversetup-ipxe to add specific boot entries
TODO: UX polish
TODO: phpdoc/polish
Diffstat (limited to 'inc/taskmanagercallback.inc.php')
-rw-r--r-- | inc/taskmanagercallback.inc.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/taskmanagercallback.inc.php b/inc/taskmanagercallback.inc.php index 8e253962..d1152bfd 100644 --- a/inc/taskmanagercallback.inc.php +++ b/inc/taskmanagercallback.inc.php @@ -184,6 +184,15 @@ class TaskmanagerCallback } } + public static function mlDownload($task, $args) + { + $mod = Module::get('minilinux'); + if ($mod === false) + return; + $mod->activate(1, false); + MiniLinux::listDownloadCallback($task, $args); + } + public static function uploadimg($task) { //$string=var_export($task, true); |