Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
873 B
Bash
Executable File
24 lines
873 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Shared IP Configuration Module
|
|
# Source this file to load centralized IP addresses
|
|
# Usage: source "$(dirname "${BASH_SOURCE[0]}")/../lib/ip-config.sh"
|
|
|
|
# Get script directory and project root
|
|
if [ -z "${SCRIPT_DIR:-}" ]; then
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
fi
|
|
|
|
# Load IP configuration
|
|
CONFIG_FILE="${PROJECT_ROOT}/config/ip-addresses.conf"
|
|
if [ -f "$CONFIG_FILE" ]; then
|
|
source "$CONFIG_FILE" 2>/dev/null || true
|
|
else
|
|
# Fallback values if config not found
|
|
PROXMOX_HOST_ML110="${PROXMOX_HOST_ML110:-192.168.11.10}"
|
|
PROXMOX_HOST_R630_01="${PROXMOX_HOST_R630_01:-192.168.11.11}"
|
|
PROXMOX_HOST_R630_02="${PROXMOX_HOST_R630_02:-192.168.11.12}"
|
|
IP_BLOCKSCOUT="${IP_BLOCKSCOUT:-192.168.11.140}"
|
|
NETWORK_GATEWAY="${NETWORK_GATEWAY:-192.168.11.1}"
|
|
fi
|