mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-29 01:41:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			151 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			151 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env bash
 | |
|   
 | |
| set -eo pipefail
 | |
| 
 | |
| case "$2" in
 | |
|   up)
 | |
|     if [[ "$1" = "nomad" ]]; then
 | |
|         ip link set dev $1 promisc on
 | |
|     fi
 | |
|     ;;
 | |
| esac
 | 
