summaryrefslogtreecommitdiffstats
path: root/inc/taskmanagercallback.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-09 17:31:19 +0200
committerSimon Rettberg2019-10-09 17:31:19 +0200
commitf800abeea4f6c68182c51cd4aaea19d7636431c8 (patch)
tree802f9bcee14210b355cac211751449e31c71fbc0 /inc/taskmanagercallback.inc.php
parentslx-fixes: Expose function for adding additional automatic confirm handlers (diff)
downloadslx-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.php9
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);