Skip to content

Commit

Permalink
Update ubuntu-jammy-22.04-lts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
azdolinski authored Nov 9, 2023
1 parent d259f1e commit a00c301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubuntu-jammy-22.04-lts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ virt-customize -a $file_path --run-command 'sed -i s/^#PermitRootLogin.*/PermitR
#echo "[ SSH] Generate Keys"
#virt-customize -a $file_path --run-command '/usr/bin/ssh-keygen -A'

echo "[ DISK] - increase sda disk to 100G (original is 2.2GB)"
echo "[ DISK] - increase sda disk size +98G"
qemu-img resize $file_path +98G
echo "[ DISK] - change sda1 partition size"
virt-customize -a $file_path --run-command "growpart /dev/sda 1 && resize2fs /dev/sda1"
Expand Down

0 comments on commit a00c301

Please sign in to comment.