u-OS: Add default configuration for env-openwrt0

This commit is contained in:
Albrecht Lohofener
2025-09-09 20:30:21 +02:00
parent 0600b9e0b7
commit 35562e2fa1
+2 -2
View File
@@ -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
}