docker-ce: set proto for docker bridge device to none
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 11 Nov 2020 14:52:20 +0000 (15:52 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 19 Nov 2020 13:20:04 +0000 (14:20 +0100)
Set proto from `static` to `none`. This makes it clear that this
interface is not handled by the netifd.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
utils/docker-ce/files/dockerd.init

index b0878a4728c3108b172c70252303226540778084..d769b5b4d3a53deabeaa3baf8652ddbfc93ed10a 100755 (executable)
@@ -67,7 +67,7 @@ uciadd() {
                uci_quiet add network interface
                uci_quiet rename network.@interface[-1]="${iface}"
                uci_quiet set network.@interface[-1].ifname="${device}"
-               uci_quiet set network.@interface[-1].proto="static"
+               uci_quiet set network.@interface[-1].proto="none"
                uci_quiet set network.@interface[-1].auto="0"
                uci_quiet commit network
        fi