Created
          December 16, 2016 12:32 
        
      - 
      
- 
        Save donatello/cfa09d78e9db6bd945b8ce5b8974db21 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| set -x | |
| for i in $(seq 10); do | |
| sudo iptables -I INPUT -p tcp --dport 9000 -j REJECT --reject-with tcp-reset | |
| mc ls myminio/bucket | |
| sudo iptables -D INPUT -p tcp --dport 9000 -j REJECT --reject-with tcp-reset | |
| echo | |
| mc cp --quiet /tmp/config-err-qSJmsi myminio/bucket/$i | |
| echo | |
| echo | |
| done | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Also tried with:
and