Add Proxmox task controller script and configuration files

This commit is contained in:
xiaji
2026-03-30 14:17:50 +08:00
parent d48dc740d6
commit 9082cc5e65
4 changed files with 469 additions and 0 deletions

16
.env.template Normal file
View File

@@ -0,0 +1,16 @@
# Proxmox 配置
PROXMOX_HOST=https://your-proxmox-host:8006
PROXMOX_API_TOKEN=your-user@pve!your-token
# 虚拟机配置
VM_ID=100
VM_SSH_HOST=your-vm-ip
VM_SSH_PORT=22
VM_SSH_USER=root
VM_SSH_KEY_PATH=~/.ssh/id_rsa
# 命令监听配置
COMMAND_DIR=/var/task-commands
# 状态汇报URL可选
STATUS_REPORT_URL=http://your-report-server/status