summaryrefslogtreecommitdiff
path: root/vm.sh
diff options
context:
space:
mode:
authorhc <hc@email.ch>2024-09-19 12:19:32 +0800
committerhc <hc@email.ch>2024-09-19 12:23:03 +0800
commitfe118ae654fd001266e0620521b936790d49cb99 (patch)
tree38ab27b62c150056cddd697a39a6a7557be3160f /vm.sh
parentdfdf3cb438d42622d2686ef05df0375788396f44 (diff)
changed
Diffstat (limited to 'vm.sh')
-rw-r--r--vm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.sh b/vm.sh
index 5a925f0..ceafde4 100644
--- a/vm.sh
+++ b/vm.sh
@@ -138,8 +138,8 @@ case "$1" in
fi
#nofail is present in the fstab which means that boot will continue even if it fails to mount
- echo ' - growpart /dev/sda 5 ' >> user-data #do note that restart is required for the system to register the increased disk size
- echo ' - sudo lvresize -l +100%FREE /dev/rocky/root' >> user-data
+ echo ' - growpart /dev/sda 4 ' >> user-data #do note that restart is required for the system to register the increased disk size
+ echo ' - sudo lvresize -l +100%FREE /dev/rocky/lvroot' >> user-data
echo ' - sudo dnf install -y epel-release dnf-utils' >> user-data
echo ' - sudo dnf install -y nc xclip tmux htop tar tree wget curl mlocate nano vim unzip net-tools git python3 python3-pip make'>> user-data
echo ' - touch /root/runcmd_done' >> user-data