graphene-os-server-infrastr.../fetch-modules
2023-07-08 01:10:56 -04:00

17 lines
194 B
Bash
Executable File

#!/bin/bash
set -o errexit
user=root
. hosts.sh
rm -rf modules
mkdir -p modules
for host in ${hosts_all[@]}; do
echo $host
ssh root@$host lsmod | sort > modules/$host
echo
done