fix(ops): seed 腳本支援 API_BASE 環境變數
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,10 +7,10 @@ scripts/ops/seed-repair-playbooks.py
|
||||
需要: AWOOOI API 可訪問 (http://192.168.0.121:32334)
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
import urllib.request
|
||||
import urllib.error
|
||||
|
||||
API_BASE = "http://192.168.0.121:32334"
|
||||
API_BASE = os.environ.get("API_BASE", "http://192.168.0.121:32334")
|
||||
|
||||
# ssh_command 格式: "layer/component" → auto_repair_service._execute_step 解析
|
||||
PLAYBOOKS = [
|
||||
|
||||
Reference in New Issue
Block a user