From 6cabdd89dd3963deddc3e18adf0988375d052032 Mon Sep 17 00:00:00 2001 From: Mykhaylo Sul Date: Thu, 23 Jan 2020 15:01:15 +0100 Subject: Get the second IP from DHCP to access Inet Signed-off-by: Mykhaylo Sul --- recipes-test/demo-network-config/secondary-network-config.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-test/demo-network-config/secondary-network-config.bb b/recipes-test/demo-network-config/secondary-network-config.bb index ca83d53..66641c3 100644 --- a/recipes-test/demo-network-config/secondary-network-config.bb +++ b/recipes-test/demo-network-config/secondary-network-config.bb @@ -21,7 +21,7 @@ do_install() { SECONDARY_IP ?= "10.0.3.2" IP_ADDR = "${SECONDARY_IP}" -CONF_TYPE = "static" +CONF_TYPE ?= "${@ 'multihomed' if d.getVar('MACHINE') == 'raspberrypi3' and d.getVar('RPI_WIFI_ENABLE') != '1' else 'static'}" require network-config.inc -- cgit v1.2.3-54-g00ecf