diff --git a/plugins/guests/solaris/guest.rb b/plugins/guests/solaris/guest.rb index 06b2ae375..555ef23e7 100644 --- a/plugins/guests/solaris/guest.rb +++ b/plugins/guests/solaris/guest.rb @@ -7,7 +7,7 @@ module VagrantPlugins # Contributed by Blake Irvin class Guest < Vagrant.plugin("2", :guest) def detect?(machine) - machine.communicate.test("grep 'Solaris' /etc/release") + machine.communicate.test("uname -o|grep Solaris") end end end