Skip to content

Instantly share code, notes, and snippets.

@rickytato
rickytato / proxmox-lxc-resize.sh
Created January 22, 2020 13:37
Increase or decrease disk size of LXC Container on Proxmox
#!/bin/bash
pct stop <id>
vzdump <id> -storage <storage> -compress lzo
pct destroy <id>
pct restore <id> /path/to/storeage/vzdump-lxc-<id>....tar.lzo --rootfs local:<newsize>