plugins/guests/solaris11/guest.rb in vagrant-unbundled-2.0.2.0 vs plugins/guests/solaris11/guest.rb in vagrant-unbundled-2.0.3.0
- old
+ new
@@ -6,10 +6,10 @@
module VagrantPlugins
module GuestSolaris11
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
- machine.communicate.test("uname -sr | grep 'SunOS.*5\\.11'")
+ machine.communicate.test("grep 'Solaris 11' /etc/release")
end
end
end
end