From fa4dc6be91ad86dbaa0959b40bdb14f50ad21a67 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sun, 20 May 2018 19:23:53 +0200 Subject: 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 --- applications/luci-app-lxc/luasrc/model/cbi/lxc.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-lxc/luasrc/model/cbi/lxc.lua') 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 local fs = require "nixio.fs" -m = Map("lxc", translate("LXC Containers")) +m = Map("lxc", translate("LXC Containers"), + translate("Please note: For LXC Containers you need a custom OpenWrt image.
") + .. 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" -- cgit v1.2.3