diff --git a/init/resize-rootfs-if-needed.sh b/init/resize-rootfs-if-needed.sh index c3d21cb..05c8b23 100755 --- a/init/resize-rootfs-if-needed.sh +++ b/init/resize-rootfs-if-needed.sh @@ -13,7 +13,7 @@ fi sysfs_xvda="/sys/class/block/xvda" -# if root filesystem use already (almost) the whole dis +# if root filesystem is already using (almost) the whole disk non_rootfs_data=$(( 250 * 1024 * 2 )) rootfs_size=$(df --output=size / | tail -n 1) # convert to 512-byte blocks