Add Proxmox task controller script and configuration files
This commit is contained in:
16
.env.template
Normal file
16
.env.template
Normal 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
|
||||
Reference in New Issue
Block a user