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 ec2f65a commit ca94383Copy full SHA for ca94383
ic-os/components/guestos/init/setup-lvs/setup-lvs.sh
@@ -74,7 +74,7 @@ lvs /dev/store/shared-swap >/dev/null 2>&1 || (
74
LV_SIZE_MB=$(("$TOTAL_SIZE_MB" / 100))
75
LV_SIZE_LIMIT_MB=128000
76
if [ "${LV_SIZE_MB}" -gt "${LV_SIZE_LIMIT_MB}" ]; then
77
- LV_SIZE="${LV_SIZE_LIMIT_MB}"
+ LV_SIZE_MB="${LV_SIZE_LIMIT_MB}"
78
fi
79
retry lvcreate --yes -L "$LV_SIZE_MB"M -n shared-swap store
80
)
0 commit comments