summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-lxc/luasrc/model/cbi
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-05-20 19:23:53 +0200
committerDirk Brenken <dev@brenken.org>2018-05-23 22:21:46 +0200
commitfa4dc6be91ad86dbaa0959b40bdb14f50ad21a67 (patch)
treee8f59cedf1aa6963977122af7a22a26aa3b87974 /applications/luci-app-lxc/luasrc/model/cbi
parent37a4a1c0702c64b15a2833ce8935bccc4899443e (diff)
luci-app-lxc: fix "plain-vanilla" integration
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>
Diffstat (limited to 'applications/luci-app-lxc/luasrc/model/cbi')
-rw-r--r--applications/luci-app-lxc/luasrc/model/cbi/lxc.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-lxc/luasrc/model/cbi/lxc.lua b/applications/luci-app-lxc/luasrc/model/cbi/lxc.lua
index ac0fdff332..7040f0ecff 100644
--- a/applications/luci-app-lxc/luasrc/model/cbi/lxc.lua
+++ b/applications/luci-app-lxc/luasrc/model/cbi/lxc.lua
@@ -16,7 +16,9 @@ Author: Petar Koretic <petar.koretic@sartura.hr>
local fs = require "nixio.fs"
-m = Map("lxc", translate("LXC Containers"))
+m = Map("lxc", translate("LXC Containers"),
+ translate("<b>Please note:</b> For LXC Containers you need a custom OpenWrt image.<br />")
+ .. translate("The image should include at least support for 'kernel cgroups', 'kernel namespaces' and 'miscellaneous LXC related options'."))
if fs.access("/etc/config/lxc") then
m:section(SimpleSection).template = "lxc"