luci-app-lxc: Use uname -m as architecture
authorMichal Hrusecky <michal.hrusecky@nic.cz>
Thu, 16 Jun 2016 08:49:23 +0000 (10:49 +0200)
committerMichal Hrusecky <michal.hrusecky@nic.cz>
Thu, 16 Jun 2016 08:49:23 +0000 (10:49 +0200)
commit0084c9377e16fec94031f1c2ae6d05427c604e4a
tree89d84b375928c09a1d52b9709961314dd69fd0f0
parentda074c97666a24f213cf5987ecc400bc6a5e9dbf
luci-app-lxc: Use uname -m as architecture

As containers are basically virtual machines, it should not depend on the
build target but on the real hardware architecture. For example there is plenty
of ARM families (mvebu, sunxi, ...) but all armv7l arms should be able to run
armv7l containers.

Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
utils/luci-app-lxc/files/controller/lxc.lua