Add option to list storage

This commit is contained in:
2025-11-15 10:47:22 +07:00
parent b9ab1caf02
commit 36fa9644b4
5 changed files with 87 additions and 7 deletions

View File

@@ -160,18 +160,20 @@ proxmox-cloud-image -batch batch.txt
| `-image-url` | - | URL cloud image (required) |
| `-vm-name` | cloud-vm | Nama template |
| `-vm-id` | 0 | Template ID (0 = auto-find dari 10000+) |
| `-storage` | local-lvm | Nama storage Proxmox |
| `-storage` | auto-detect | Nama storage Proxmox (auto-detect jika kosong) |
| `-memory` | 2048 | Memory dalam MB |
| `-cores` | 2 | Jumlah CPU cores |
| `-disk-size` | 20G | Ukuran disk |
| `-bridge` | vmbr0 | Network bridge |
| `-vlan-tag` | 0 | VLAN tag (0 = no VLAN) |
| `-guest-agent` | false | Enable QEMU guest agent |
| `-firewall` | false | Enable firewall |
| `-ssh-key` | - | Path ke SSH public key |
| `-proxmox-host` | - | IP/hostname Proxmox (required) |
| `-proxmox-user` | root@pam | Proxmox user |
| `-proxmox-pass` | - | Proxmox password |
| `-guest-agent` | false | Enable QEMU Guest Agent |
| `-firewall` | false | Enable Proxmox firewall |
| `-list-storage` | - | List semua storage yang tersedia |
| `-ls` | - | Shorthand untuk `-list-storage` |
## How It Works