VirtualBox shared folders: adjust check for detecting shared folder
authorMichael Prokop <mika@grml.org>
Fri, 3 Jul 2020 14:43:49 +0000 (16:43 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 3 Jul 2020 14:48:30 +0000 (16:48 +0200)
commit289b3ef77f4db319dfa8b589f266e21b4851e10a
treec1dce65596b1f613fd1397ed8963ac12a307882e
parenta96269628e46433c8a6d4464584b3c4c39467e42
VirtualBox shared folders: adjust check for detecting shared folder

More recent VirtualBox versions provide output like:

| 01 - automation [idRoot=0 writeable auto-mount host-icase guest-icase]

While older VirtualBox versions listed only:

| 01 - automation

Adjust the grep command line, to support old and new VBoxControl output.

This work was funded by Grml-Forensic.
autoconfig.functions