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