From 6dffec4bf9673553ca99e5e5fe5cb217387c7d19 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 6 Jul 2015 14:23:24 -0600 Subject: [PATCH] guests/solaris11: fix suexec inheritence [GH-5247] --- plugins/guests/solaris11/config.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/guests/solaris11/config.rb b/plugins/guests/solaris11/config.rb index 935e0d9b9..a6051fa95 100644 --- a/plugins/guests/solaris11/config.rb +++ b/plugins/guests/solaris11/config.rb @@ -14,8 +14,8 @@ module VagrantPlugins def initialize @halt_timeout = UNSET_VALUE @halt_check_interval = UNSET_VALUE - @suexec_cmd = 'sudo' - @device = "net" + @suexec_cmd = UNSET_VALUE + @device = UNSET_VALUE end def finalize! @@ -25,6 +25,9 @@ module VagrantPlugins if @halt_check_interval != UNSET_VALUE puts "solaris11.halt_check_interval is deprecated and will be removed in Vagrant 1.7" end + + @suexec_cmd = "sudo" if @suexec_cmd == UNSET_VALUE + @device = "net" if @device == UNSET_VALUE end end end