diff options
Diffstat (limited to 'vm.sh')
| -rw-r--r-- | vm.sh | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -138,8 +138,8 @@ case "$1" in | |||
| 138 | fi | 138 | fi |
| 139 | 139 | ||
| 140 | #nofail is present in the fstab which means that boot will continue even if it fails to mount | 140 | #nofail is present in the fstab which means that boot will continue even if it fails to mount |
| 141 | echo ' - growpart /dev/sda 5 ' >> user-data #do note that restart is required for the system to register the increased disk size | 141 | echo ' - growpart /dev/sda 4 ' >> user-data #do note that restart is required for the system to register the increased disk size |
| 142 | echo ' - sudo lvresize -l +100%FREE /dev/rocky/root' >> user-data | 142 | echo ' - sudo lvresize -l +100%FREE /dev/rocky/lvroot' >> user-data |
| 143 | echo ' - sudo dnf install -y epel-release dnf-utils' >> user-data | 143 | echo ' - sudo dnf install -y epel-release dnf-utils' >> user-data |
| 144 | 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 | 144 | 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 |
| 145 | echo ' - touch /root/runcmd_done' >> user-data | 145 | echo ' - touch /root/runcmd_done' >> user-data |
