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 40459a5 commit fd3ccb0Copy full SHA for fd3ccb0
1 file changed
src/etc/one-context.d/loc-05-grow-rootfs
@@ -188,10 +188,15 @@ export DEBUG
188
_exit_result=0
189
for _FS in ${GROW_FS} ; do
190
191
+ # avoid resizing FS on FreeBSD
192
+ # https://github.com/OpenNebula/addon-context-linux/issues/298
193
+ [ "${OS}" = 'freebsd' ] && continue
194
+
195
# FreeBSD
196
if [ "${OS}" = 'freebsd' ]; then
197
case "$_FS" in
198
/)
199
+ # This breaks the image unless executed manually
200
/etc/rc.d/growfs onestart || _exit_result=$?
201
;;
202
*)
0 commit comments