Proxmox Command Line
Posted on January 10, 2024 • 1 min read • 101 wordsUseful Proxmox commands for the command line
Open your Proxmox machine of choice and open it’s shell to use the following commands.
qm list <vmid>
qm start <vmid>
qm stop <vmid>
qm config <vmid>
You might want to get the VM’s disk name (qm config <vmid>
. (e.g. scsi0
).
For an LXC Container it’s often rootfs
.
Increase by 5GB:
qm resize <vmid> <hdname> +5G
Increase to 20GB:
qm resize <vmid> <hdname> 20G
or
pct resize <vmid> <hdname> 20G
qm set <vmid> --delete <hdname>