mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-31 21:40:28 +00:00
refactor: hetzner/lib - add bash safety flags
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0e5712a634
commit
595d6f7f59
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
# Common bash functions for Hetzner Cloud spawn scripts
|
||||
|
||||
# ============================================================
|
||||
|
|
@ -19,7 +20,7 @@ source "$SCRIPT_DIR/../../shared/common.sh" || {
|
|||
# ============================================================
|
||||
|
||||
readonly HETZNER_API_BASE="https://api.hetzner.cloud/v1"
|
||||
readonly SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -i $HOME/.ssh/id_ed25519"
|
||||
# SSH_OPTS is now defined in shared/common.sh
|
||||
|
||||
# Centralized curl wrapper for Hetzner API
|
||||
hetzner_api() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue