Update InstallNET.sh

This commit is contained in:
Molly Lau 2023-10-04 07:28:24 +09:00 committed by GitHub
parent 1224260920
commit 2c4f18ba27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -709,6 +709,7 @@ function getDisk() {
[[ "$2" == 'debian' || "$2" == 'kali' ]] && setDisk="all"
}
# Redhat cloud init install needs at least 10GB drive space.
diskCapacity=$(lsblk -ipb | grep -w "$IncDisk" | awk {'print $4'})
}