proxmox-create-vm
Create LXC containers on Proxmox with proxmox-create. Use when provisioning new VMs, choosing sizing, or understanding VMID/IP assignment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create LXC containers on Proxmox with proxmox-create. Use when provisioning new VMs, choosing sizing, or understanding VMID/IP assignment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Proxmox VM/LXC management index skill. Use when creating VMs, listing containers, managing Proxmox environments, or any Proxmox-related task. Load this first - it runs the doctor script and points to focused sub-skills.
DNS record management for Proxmox VMs using domainpanel. Use when mapping domains to VMs, creating direct-IP CNAMEs, setting up A+SRV for apex domains, or listing existing records. Covers domainpanel CLI, record type selection, and TLS router integration.
| name | proxmox-create-vm |
| description | Create LXC containers on Proxmox with proxmox-create. Use when provisioning new VMs, choosing sizing, or understanding VMID/IP assignment. |
grep -E 'PROXMOX_TEMPLATE_DEFAULT|PROXMOX_TARGET_NODE|PROXMOX_ID_PREFIX' \
~/.config/proxmox-sh/current.env
sh ~/Agents/skills/proxmox/scripts/proxmox-sh-templates
Present the numbered list to the user. Guide the choice:
custom > bnna variant > standarddefault tag marks the env's PROXMOX_TEMPLATE_DEFAULTNEVER: Run proxmox-create without first presenting the plan to the user (hostname, template, RAM/vCPU/storage, active profile) and receiving explicit confirmation.
MUST: Always pass --os with a full vztmpl/... path.
Wrap with expect to provide a pty (proxmox-create writes to /dev/tty):
expect -c 'spawn proxmox-create <hostname> \
--os <PROXMOX_TEMPLATE_DEFAULT> \
--storage <gb> --ram <mb> --vcpus <n>; \
expect eof'
Output shows the assigned CTID, IP, and direct-IP domains. Example:
CTID: 1104209
IP: 10.11.4.209/24
Direct: tls-10-11-4-209.<DIRECT_IP_DOMAIN>
Common errors:
PROXMOX_RESOURCE_POOL doesn't exist or isn't
accessible. Run proxmox-sh-resources and pick from the listed pools.proxmox-create auto-increments,
so this is rare. If it happens, retry./ (rootfs) -- 8 GB, fixed, from PROXMOX_FS_POOL/mnt/storage -- --storage size, from PROXMOX_DATA_POOLThe --storage flag sets /mnt/storage size, not rootfs.
| Tier | RAM | vCPU | Storage | Use case |
|---|---|---|---|---|
| Minimal | 512 MB | 1 | 1 GB | Static sites, simple services |
| Dev | 2048 MB | 2 | 10 GB | Development instances |
| Standard | 4096 MB | 2 | 20 GB | Production services |
| Heavy | 8192 MB | 4 | 50 GB | Databases, build servers |
VMIDs are auto-assigned: <PROXMOX_ID_PREFIX><3-digit-index>.
The index maps to the last IP octet:
Prefix: 1104, Next index: 209
VMID: 1104209
IP: 10.11.4.209/24
GW: 10.11.4.1
proxmox-create initiates ACME issuance automatically.
TLS issuance continues after expect eof returns -- the container is created
but SSH via the tls- domain won't work until the cert is ready (~10-30s).proxmox-dns skill)sh ~/Agents/skills/proxmox/scripts/proxmox-sh-ssh-wait <direct-ip-domain> [<friendly-domain>]
Phase 1: SSH on direct-IP with backoff (7s/15s/15s), auto-detects user (root standard, app bnna).
Phase 2: If friendly domain given, polls DNS propagation (max 20s).
On DNS WARN, verify CNAME (subdomain) or A+SRV (apex) records via domainpanel.