From 35562e2fa18eca1f5b9250bfde6a1a314be4f9e2 Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Tue, 9 Sep 2025 20:30:21 +0200 Subject: [PATCH] u-OS: Add default configuration for env-openwrt0 --- src/run_openwrt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/run_openwrt.sh b/src/run_openwrt.sh index 4098873..77b324a 100755 --- a/src/run_openwrt.sh +++ b/src/run_openwrt.sh @@ -105,8 +105,8 @@ attach_veth_if () { if [[ -n "${IS_U_OS_APP}" ]]; then info "Detected u-OS app" - # TODO add some u-OS specific settings if needed. - + nsenter --target 1 --uts --net --ipc --mount nmcli con mod env-openwrt0 ipv4.addresses "172.31.1.2/24" + nsenter --target 1 --uts --net --ipc --mount nmcli con up env-openwrt0 fi }