mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 08:01:25 +00:00
u-OS: Add default configuration for env-openwrt0
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user