diff --git a/plugins/guests/solaris/guest.rb b/plugins/guests/solaris/guest.rb index e0eab670978..4256c61cd32 100644 --- a/plugins/guests/solaris/guest.rb +++ b/plugins/guests/solaris/guest.rb @@ -7,7 +7,7 @@ module GuestSolaris # 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