Skip to content

Commit

Permalink
hashicorp#1639 Better Solaris OS detection (use portable method that …
Browse files Browse the repository at this point in the history
…actually works)
  • Loading branch information
aszeszo committed May 10, 2013
1 parent ccfd321 commit c475226
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 c475226

Please sign in to comment.