From f206eab5753bd9ee2d5b1126c6ec5a18e75cac89 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ishii Date: Thu, 14 Jul 2022 16:23:37 +0900 Subject: agl-lxc: Enable network bridge via lxc-net On lxc-host-image-demo, network (physical ethernet) is statically assigned to the ivi-guest space currently. This may be a bit problematic since the other guests and also host can't use network for some future usecases, for example we can't login to host by ssh. This change enables network bridge settings via lxc-net to solve this problem. Bug-AGL: SPEC-4475 Signed-off-by: Hiroyuki Ishii Change-Id: Ic1a39b64de932f67b7be833d469ef1a80e0c52c9 --- .../recipes-container/lxc-config/lxc-config-ivi-demo/network.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo') diff --git a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo/network.in b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo/network.in index 5af82a2b..6545b1ad 100644 --- a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo/network.in +++ b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-container/lxc-config/lxc-config-ivi-demo/network.in @@ -1,4 +1,5 @@ # lxc network setting -lxc.net.0.type = phys -lxc.net.0.link = eth0 - +lxc.net.0.type = veth +lxc.net.0.link = lxcbr0 +lxc.net.0.flags = up +lxc.net.0.hwaddr = 00:16:3e:69:87:a4 -- cgit 1.2.3-korg