Files
proxmox/scripts/archive/consolidated/deploy/install-npmplus-expect.sh
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- 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>
2026-02-12 15:46:57 -08:00

32 lines
778 B
Bash

#!/usr/bin/expect -f
set -euo pipefail
# Automated NPMplus installation using expect
# This script automates the interactive Proxmox helper script
set timeout 300
set PROXMOX_HOST [lindex $argv 0]
set TZ [lindex $argv 1]
set ACME_EMAIL [lindex $argv 2]
if {$TZ eq ""} { set TZ "America/New_York" }
if {$ACME_EMAIL eq ""} { set ACME_EMAIL "nsatoshi2007@hotmail.com" }
spawn ssh root@$PROXMOX_HOST "bash -c \$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/npmplus.sh)"
expect {
"Enter your TZ Identifier" {
send "$TZ\r"
exp_continue
}
"Enter your ACME Email" {
send "$ACME_EMAIL\r"
exp_continue
}
"Access it using" {
puts "\n✅ Installation complete!"
exp_continue
}
eof
}