mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-31 21:40:28 +00:00
Moved duplicate get_cloud_init_userdata() function from all 4 cloud provider common.sh files to shared/common.sh. This eliminates 60+ lines of duplication and centralizes cloud-init configuration. Changes: - Added get_cloud_init_userdata() to shared/common.sh with detailed comments - Removed duplicate function from hetzner/lib/common.sh - Removed duplicate function from digitalocean/lib/common.sh - Removed duplicate function from vultr/lib/common.sh - Removed duplicate function from linode/lib/common.sh - Added comment that clouds can override if needed All tests pass (42 passed, 0 failed). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| claude.sh | ||
| codex.sh | ||
| goose.sh | ||
| interpreter.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||