mirror of
https://github.com/lukaszraczylo/rpi-home-cluster-setup.git
synced 2026-10-23 01:47:54 +00:00
Home K8S setup
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
AVAILABLE_HOSTS=$(grep "\." pi-hosts.txt | awk '{print $2}' | cut -d "=" -f2)
|
||||
for HOST in $AVAILABLE_HOSTS; do
|
||||
echo "Working on host $HOST"
|
||||
ssh -t root@$HOST 'setup-ntp -c chrony; setup-apkrepos -f; apk update; apk add python3'
|
||||
done
|
||||
Reference in New Issue
Block a user