#!/bin/bash hosts_file="/mnt/encrypted_volume/${HOSTS_FILE:-hosts.txt}" cmd="$*" echo "Running on hosts: $cmd" pssh -h "$hosts_file" "$cmd"