summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-lxc
AgeCommit message (Collapse)Author
2018-05-27luci-app-lxc: fix "plain-vanilla" integration, part 2Dirk Brenken
I've tried to get the lxc app in a more usable state. Tested with mips and amd64 targets. * check /etc/config/lxc in controller, not in cbi * more controller cleanups * remove unused 'fork_exec' function * check path before container creation * check space requirements before container creation * support new uci options 'min_space' and 'min_temp', default for both is 100000 KB * both options are configurable via LuCI CBI template * write messages to log in case of an error * validate the container name during creation, automatically remove invalid chars * inform the user that only a stopped container can be destroyed * add experimental ssl support (untested, disabled by default) Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23luci-app-lxc: fix "plain-vanilla" integrationDirk Brenken
I've tried to get the lxc app in a more usable state. Tested with mips and amd64 targets. * fix missing tar/xz dependency, only if LXC_BUSYBOX_OPTIONS is not selected * mute needless gpg validation warning * tidy up controller a little bit * fix multiple possible dispatcher errors * fix compatibility with XHTML standard theme (looks still horrible ;-) * inform the user about custom kernel prerequisites * inform the user about the template download * inform the user if no template was found Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-21luci-app-lxc: fix syntax error in previous commitJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-21luci-app-lxc: various changesAdmin Localnet
1) Modify dependencies Add dependencies required for to be able use containers created from "images.linuxcontainers.org". Several of them require "lxc-attach" for set password so to be able login. None of them has SSH preinstalled so "lxc-console" is required to be able login and install SSH, for example. Remove dependency "xz", it seems incompatible with LXC_BUSYBOX_OPTIONS when both are enabled happens a build crash. 2) Change container image repository The repository "virtualwrt.org/containers/" seems to not work, I have change it by the official LXC container image repository. 3) Translate the arch Translate the local uname architecture to a valid "images.linuxcontainers.org" arch. Only tested with the platform "mvebu" (armv7l -> armhf). 4) Other minor fixes Use same server to list images and download the image. Disable GPG check when listing images. Reported-by: "Admin Localnet <localnet@users.noreply.github.com>" [Squashed commits, cleaned up whitespace, refactor arch mapping, escape url setting, use system wide ubus helper, use uci model library] Closes: #1422 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-21luci-app-lxc: initial commitdanrl
Moved over here from the packages repository. Signed-off-by: Dan Luedtke <mail@danrl.com>