From bbcd5bd21e0a1a9c287c19e584fbb26cd4a37d26 Mon Sep 17 00:00:00 2001 From: henk Date: Sun, 16 Jul 2023 23:27:55 +0200 Subject: [PATCH] 2023-07-16 23:27:55 --- virtualisatie/proxmox/parted.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 virtualisatie/proxmox/parted.sh 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 +