fix(synergy): support dynamic synergyc binary path, Crostini DISPLAY fallback, and reverse SSH tunnel in fleet

This commit is contained in:
Krystof Pesek
2026-11-06 06:39:28 +01:00
parent c99ad055b2
commit 37960c5848
3 changed files with 37 additions and 7 deletions
+2 -1
View File
@@ -10,7 +10,7 @@ if ! ping -c 1 -W 2 "$PENGUIN_IP" &>/dev/null; then
exit 1
fi
echo "[provision-penguin] Updating ~/bin and identity on penguin..."
echo "[provision-penguin] Updating ~/bin, identity, and SuperCollider on penguin..."
ssh -o ConnectTimeout=5 "kof@$PENGUIN_IP" '
git -C ~/bin pull origin main
sudo bash -c "cat << CONF > /etc/fleet_id
@@ -26,5 +26,6 @@ grep -q "bin-env" ~/.bashrc 2>/dev/null || echo "[ -f \"\$HOME/bin/bin-env\" ] &
grep -q "bin-env" ~/.zshrc 2>/dev/null || echo "[ -f \"\$HOME/bin/bin-env\" ] && source \"\$HOME/bin/bin-env\"" >> ~/.zshrc
~/bin/fleet-id
~/bin/setup-sc-node
'
echo "[provision-penguin] Complete."