diff --git a/plugins/guests/solaris11/guest.rb b/plugins/guests/solaris11/guest.rb index f7c46ee57..7d1794176 100644 --- a/plugins/guests/solaris11/guest.rb +++ b/plugins/guests/solaris11/guest.rb @@ -8,7 +8,7 @@ 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