| 
									
										
										
										
											2018-11-11 08:19:04 -08:00
										 |  |  | #!/usr/bin/env bash
 | 
					
						
							|  |  |  | set -ex | 
					
						
							| 
									
										
										
										
											2018-11-07 17:42:29 -08:00
										 |  |  | # | 
					
						
							|  |  |  | # 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 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-07 19:33:20 -08:00
										 |  |  | ip link delete docker0 || true |