mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-25 14:43:29 +02: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
|