graphene-os-server-infrastr.../deploy-hostname
2025-11-06 19:54:19 -05:00

14 lines
193 B
Bash
Executable file

#!/bin/bash
. shared.sh
. hosts.sh
for host in ${hosts_all[@]}; do
remote=root@$host
echo
echo $host
echo
ssh $remote hostnamectl hostname ${hosts_hostname[$host]}
done