diff --git a/plugins/guests/solaris/guest.rb b/plugins/guests/solaris/guest.rb index e0eab6709..4256c61cd 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("uname -o | grep Solaris") + machine.communicate.test("uname -s | grep SunOS") end end end