diff options
author | Mykhaylo Sul <ext-mykhaylo.sul@here.com> | 2020-01-23 15:01:15 +0100 |
---|---|---|
committer | Mykhaylo Sul <ext-mykhaylo.sul@here.com> | 2020-02-06 12:56:16 +0100 |
commit | 6cabdd89dd3963deddc3e18adf0988375d052032 (patch) | |
tree | ba5890440be96d0ae7cfb9eeac9a2830341ab12e /recipes-test/demo-network-config/secondary-network-config.bb | |
parent | f3c2623373b17dac7cac341d23d5b0f52307d2c0 (diff) | |
download | meta-updater-6cabdd89dd3963deddc3e18adf0988375d052032.tar.gz |
Get the second IP from DHCP to access Inetfeat/secondary/access-to-pub-inet
Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
Diffstat (limited to 'recipes-test/demo-network-config/secondary-network-config.bb')
-rw-r--r-- | recipes-test/demo-network-config/secondary-network-config.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
21 | 21 | ||
22 | SECONDARY_IP ?= "10.0.3.2" | 22 | SECONDARY_IP ?= "10.0.3.2" |
23 | IP_ADDR = "${SECONDARY_IP}" | 23 | IP_ADDR = "${SECONDARY_IP}" |
24 | CONF_TYPE = "static" | 24 | CONF_TYPE ?= "${@ 'multihomed' if d.getVar('MACHINE') == 'raspberrypi3' and d.getVar('RPI_WIFI_ENABLE') != '1' else 'static'}" |
25 | 25 | ||
26 | require network-config.inc | 26 | require network-config.inc |
27 | 27 | ||