Skip to content

Commit

Permalink
Merge pull request hashicorp#1714 from aszeszo/master
Browse files Browse the repository at this point in the history
Use proper detection for Solaris
  • Loading branch information
mitchellh committed Jun 9, 2013
2 parents 0e208f4 + c475226 commit ba242cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/guests/solaris/guest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module GuestSolaris
# Contributed by Blake Irvin <[email protected]>
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
Expand Down

0 comments on commit ba242cd

Please sign in to comment.