remove-docker-interface.sh 290 B

1234567891011
  1. #!/usr/bin/env bash -ex
  2. #
  3. # Some instances have docker running and docker0 network interface confuses
  4. # gossip and airdrops fail. As a workaround for now simply remove the docker0
  5. # interface
  6. #
  7. [[ $(uname) = Linux ]] || exit 1
  8. [[ $USER = root ]] || exit 1
  9. ip link delete docker0 || true