diff --git a/virtualisatie/proxmox/parted.sh b/virtualisatie/proxmox/parted.sh new file mode 100755 index 0000000..6d8f107 --- /dev/null +++ b/virtualisatie/proxmox/parted.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# First install parted +# After + rezise of the ext4 HD use this script +# Change the resizepart 1 or to the other part +# +PART=1 # 1 for debian12 (cloudimage) 3 for ubuntu (cloudimage) +parted /dev/sda resizepart ${PART} 100% +resize2fs /dev/sda1 +parted -l +fstrim -av +