diff --git a/src/etc/one-context.d/loc-05-grow-rootfs b/src/etc/one-context.d/loc-05-grow-rootfs index d9c924c..c4a1a89 100755 --- a/src/etc/one-context.d/loc-05-grow-rootfs +++ b/src/etc/one-context.d/loc-05-grow-rootfs @@ -188,10 +188,15 @@ export DEBUG _exit_result=0 for _FS in ${GROW_FS} ; do + # avoid resizing FS on FreeBSD + # https://github.com/OpenNebula/addon-context-linux/issues/298 + [ "${OS}" = 'freebsd' ] && continue + # FreeBSD if [ "${OS}" = 'freebsd' ]; then case "$_FS" in /) + # This breaks the image unless executed manually /etc/rc.d/growfs onestart || _exit_result=$? ;; *)