Free repo for testing servers
To get updates for your testing servers running ProxMox VE you can use following repo which is not meant for production use but works well for testing purposes. Just add the following lines to
# PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription
Uncomment the enterprise repo in
/etc/apt/sources.list.d/pve-enterprise.list and run
apt-get update afterwards. You can now run
apt-get upgrade to get package upgrades.
Resizing disks of Ubuntu VMs
If your VM runs an Ubuntu cloud image you can use the following simple procedure. This probably applies to other Linux distributions as well.
Just resize the block device of a VM on the host using following command e.g. by 20G (106 is the VM ID):
qm resize 106 scsi0 +20G
This should be visible in
dmesg of that VM:
sda: detected capacity change from 45311066112 to 66785902592
Afterwards just reboot that VM and the filesystem will be expanded automatically, again visible in
EXT4-fs (sda1): resizing filesystem from 11033851 to 16276731 blocks