mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-10-11 13:00
This commit is contained in:
11
roles/nomad/files/50-nomad-promisc
Normal file
11
roles/nomad/files/50-nomad-promisc
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
case "$2" in
|
||||
up)
|
||||
if [[ "$1" = "nomad" ]]; then
|
||||
ip link set dev $1 promisc on
|
||||
fi
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user