11 lines
145 B
Bash
Executable File
11 lines
145 B
Bash
Executable File
#!/bin/bash
|
|
|
|
hosts_file="/mnt/encrypted_volume/${HOSTS_FILE:-hosts.txt}"
|
|
|
|
cmd="$*"
|
|
|
|
echo "Running on hosts: $cmd"
|
|
|
|
pssh -h "$hosts_file" "$cmd"
|
|
|