Commit Graph

6 Commits

Author SHA1 Message Date
Petar Koretic d15b15b951 luci-app-lxc: use ubus binding for lxc-create
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-11-18 13:46:30 +01:00
Luka Perkov e044d612a0 lxc: minor dependencies tweak
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-13 14:59:44 +01:00
Luka Perkov e430a93605 luci-app-lxc: add spdx license info
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-11 11:54:38 +01:00
Luka Perkov 2da2a9e900 luci-app-lxc: update dependencies
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-11 11:49:48 +01:00
Petar Koretic 8467d0ea3f luci-app-lxc: code cleanup
Number of suggested rewrites:
* use lua ubus bindings instead of os.execute
* combine multiple actions to use same handler 'lxc_action' and pass
actions as arguments to consolidate code
* read openwrt version from lua directly
* start using String.prototype.format for string formatting

Also, drop 'rename' and 'clone' until they are fully functional on all
platforms.

Thanks Jo-Philipp for suggestions on how to improve the code.

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-10-30 20:50:39 -04:00
Petar Koretic e81ae1e7eb luci-app-lxc: add package for luci lxc app
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-10-30 06:26:02 -04:00