1
0
Fork 0
espelhamento de https://git.openwrt.org/project/luci.git sincronizado 2025-01-18 23:45:02 +00:00
Gráfico de commits

13 commits

Autor SHA1 Mensagem Data
Daniel Nilsson
07b7c642de luci-app-lxc: remove bypassing GPG validation
Since 5852026304
which is part of LXC 5.0, not being able to bypass GPG validation anymore has
been enforced by upstream in lxc-download. When LXC was bumped to 5.0.1 in
d957a2293b
this broke passing the --no-validate option to lxc-download, which resulted
in getting the output of the --help command line option as the RPC output of
lxc-download as it doesn't understand the --no-validate option. This in turn
broke the string parsing for compatible distributions and their versions.

To solve this, this commit removes the --no-validate option entirely as it has
been removed by upstream.

Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-05-02 01:33:26 +02:00
Jo-Philipp Wich
74da73b012 applications: add ACL dependency annotations to legacy controllers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-19 17:17:26 +02:00
Josef Schlehofer
f335624407
luci-app-lxc: add aarch64 to target map
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-01-29 23:16:47 +01:00
James Buren
9630e7e994 luci-app-lxc: add i686 to target map
Add i686 to target map so i386 container templates are usable.

Signed-off-by: James Buren <ryuo@ryuo.xyz>
2018-11-19 09:02:49 -06:00
Dirk Brenken
1f2d40b504 luci-app-lxc: add backingstore support
* second try to enable backingstore support, untested (see #1919)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-01 19:59:52 +02:00
Dirk Brenken
b198de11bc luci-app-lxc: small fixes & cosmetics
* backingstore support via ubus does not work, remove it for now
* fix target mapping for linuximages.org
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-30 22:55:41 +02:00
Dirk Brenken
2b43ebe92f luci-app-lxc: made container creation more reliable
* wait/lock "create" button until the real end of container creation,
  this includes download time plus tar/gz processing time
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-03 22:30:59 +02:00
Dirk Brenken
d8f2f24a5b luci-app-lxc: fix "plain-vanilla" integration, part 3
* migrate JS generated HTML tables to divs
* remove (most of) the inline styles
* various markup cleanups

That's the final part ... hopefully it's now in a  more usable &
maintainable state.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-31 07:28:51 +02:00
Dirk Brenken
d9b6c5dd78 luci-app-lxc: fix "plain-vanilla" integration, part 2
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-27 20:46:13 +02:00
Dirk Brenken
fa4dc6be91 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>
2018-05-23 22:21:46 +02:00
Jo-Philipp Wich
77aa96c52a luci-app-lxc: fix syntax error in previous commit
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-21 14:37:08 +02:00
Admin Localnet
de0d16e4ac 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>
2018-04-21 14:35:26 +02:00
danrl
fbd3e1219a luci-app-lxc: initial commit
Moved over here from the packages repository.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-21 09:17:36 +01:00