summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-lxc/root/etc/config
diff options
context:
space:
mode:
authorAdmin Localnet <localnet@users.noreply.github.com>2017-10-30 21:12:25 +0100
committerJo-Philipp Wich <jo@mein.io>2018-04-21 14:35:26 +0200
commitde0d16e4ac77be32b7ab3f9816b72aa053eb5854 (patch)
tree4d97c2b734043294c00ab1b2d4f93ebeac633901 /applications/luci-app-lxc/root/etc/config
parentefcca756787d53757e1ce8568ddf8ec5dda10af9 (diff)
luci-app-lxc: various changes
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>
Diffstat (limited to 'applications/luci-app-lxc/root/etc/config')
-rw-r--r--applications/luci-app-lxc/root/etc/config/lxc5
1 files changed, 1 insertions, 4 deletions
diff --git a/applications/luci-app-lxc/root/etc/config/lxc b/applications/luci-app-lxc/root/etc/config/lxc
index 5572c735fa..3b35951e1b 100644
--- a/applications/luci-app-lxc/root/etc/config/lxc
+++ b/applications/luci-app-lxc/root/etc/config/lxc
@@ -1,6 +1,3 @@
-#
-# lxc uci configuration
-#
config lxc 'lxc'
- option url 'virtualwrt.org/containers/'
+ option url 'images.linuxcontainers.org'