graphene-os-server-infrastr.../fetch-packages

17 lines
196 B
Plaintext
Raw Normal View History

2023-07-08 01:10:26 -04:00
#!/bin/bash
set -o errexit
user=root
. hosts.sh
rm -rf packages
mkdir -p packages
for host in ${hosts_all[@]}; do
echo $host
ssh root@$host pacman -Qqe > packages/$host
echo
done