summaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc/recipes-container
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2021-10-13 07:06:06 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2021-11-22 15:38:41 +0900
commitd4cfeea4e2ab3d830b81c8022744e2a6511528fd (patch)
tree3b97c47d00f250f8a67efc6db7e4ff0095f540ad /meta-agl-lxc/recipes-container
parent466481798f5a61a98dbeb1b7f62ed465a07a5f25 (diff)
Enable network connection in ivi guest
In ivi guest, must require to internet connections. This patch enable network connection in ivi guest. Detaille: Bind eth0 device to ivi guest. Enable systemd-networkd to manage network connection. Add network interface setting to set IP address using dhcp. Bug-AGL: SPEC-4132 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Icf0fb386d1efafb060a66e0cab727f93d5e8e7fd
Diffstat (limited to 'meta-agl-lxc/recipes-container')
-rw-r--r--meta-agl-lxc/recipes-container/lxc-config/files/config.ivi-demo.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-agl-lxc/recipes-container/lxc-config/files/config.ivi-demo.in b/meta-agl-lxc/recipes-container/lxc-config/files/config.ivi-demo.in
index 01b42802..9b0d52fc 100644
--- a/meta-agl-lxc/recipes-container/lxc-config/files/config.ivi-demo.in
+++ b/meta-agl-lxc/recipes-container/lxc-config/files/config.ivi-demo.in
@@ -21,7 +21,8 @@ lxc.mount.entry = /run/drm-lease-manager/@DRM_LEASE_DEVICE@ var/display/drm-leas
lxc.cgroup.devices.allow = c 10:* rwm
lxc.mount.entry = /dev/pvr_sync dev/pvr_sync none bind,optional,create=file
-lxc.net.0.type = empty
+lxc.net.0.type = phys
+lxc.net.0.link = eth0
lxc.environment = QT_QPA_PLATFORM=wayland
lxc.environment = QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/plugins/