We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0205d4d commit 0c37759Copy full SHA for 0c37759
Management-Utilities/ec2-user-data-iscsi-create-and-mount/linux_userData.sh
@@ -24,8 +24,7 @@ LUN_NAME=${VOLUME_NAME}_$(($RANDOM%($max-$min+1)+$min))
24
# The script will create a log file in the ec2-user home directory
25
LOG_FILE=/home/ec2-user/install.log
26
27
-VOL_SIZE=$(echo $VOLUME_SIZE | sed 's/.$//')
28
-LUN_SIZE=$(bc -l <<< "0.90*$VOL_SIZE" )
+LUN_SIZE=$(bc -l <<< "0.90*$VOLUME_SIZE" )
29
30
echo "# Uninstall file" >> uninstall.sh
31
chmod u+x uninstall.sh
0 commit comments