lib/vagrant-vbguest/installers/linux.rb in vagrant-vbguest-0.24.0 vs lib/vagrant-vbguest/installers/linux.rb in vagrant-vbguest-0.25.0
- old
+ new
@@ -76,10 +76,10 @@
# @yieldparam [String] data Data for the given output.
def running?(opts=nil, &block)
opts = {
:sudo => true
}.merge(opts || {})
- communicate.test('grep -qE "^vboxguest\s.+\s\([^\s]*O[^\s]*\)$" /proc/modules && ls /lib/modules/`uname -r`/misc/vboxsf.ko*', opts, &block)
+ communicate.test('grep -qE "^vboxguest\s.+\s" /proc/modules && ls /lib/modules/`uname -r`/misc/vboxsf.ko*', opts, &block)
end
# This overrides {VagrantVbguest::Installers::Base#guest_version}
# to also query the `VBoxService` on the host system (if available)
# for it's version.