diff --git a/net/gce.sh b/net/gce.sh index 2bfa4ea720..8f80dfba18 100755 --- a/net/gce.sh +++ b/net/gce.sh @@ -411,8 +411,9 @@ $( install-earlyoom.sh \ install-libssl-compatability.sh \ install-rsync.sh \ - update-default-cuda.sh \ network-config.sh \ + remove-docker-interface.sh \ + update-default-cuda.sh \ ) diff --git a/net/scripts/remove-docker-interface.sh b/net/scripts/remove-docker-interface.sh new file mode 100755 index 0000000000..f5dad80322 --- /dev/null +++ b/net/scripts/remove-docker-interface.sh @@ -0,0 +1,11 @@ +#!/bin/bash -ex +# +# Some instances have docker running and docker0 network interface confuses +# gossip and airdrops fail. As a workaround for now simply remove the docker0 +# interface +# + +[[ $(uname) = Linux ]] || exit 1 +[[ $USER = root ]] || exit 1 + +ip link delete docker0