lxc: set default lxcpath to /lxc
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
153e482090
commit
64a9489651
2 changed files with 6 additions and 1 deletions
|
@ -155,7 +155,7 @@ define Package/lxc-common/install
|
||||||
$(INSTALL_DIR) $(1)/etc/lxc/
|
$(INSTALL_DIR) $(1)/etc/lxc/
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/etc/lxc/default.conf \
|
$(PKG_INSTALL_DIR)/etc/lxc/default.conf \
|
||||||
$(1)/etc/lxc/
|
$(1)/etc/lxc/lxc.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/lxc-hooks/install
|
define Package/lxc-hooks/install
|
||||||
|
|
5
utils/lxc/patches/100-lxc-defconfig.patch
Normal file
5
utils/lxc/patches/100-lxc-defconfig.patch
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
--- a/config/etc/default.conf.unknown
|
||||||
|
+++ b/config/etc/default.conf.unknown
|
||||||
|
@@ -1 +1,2 @@
|
||||||
|
+lxc.lxcpath = /lxc
|
||||||
|
lxc.network.type = empty
|
Loading…
Reference in a new issue