guests/solaris11: fix suexec inheritence [GH-5247]
This commit is contained in:
parent
2fc8d99f6d
commit
6dffec4bf9
|
@ -14,8 +14,8 @@ module VagrantPlugins
|
||||||
def initialize
|
def initialize
|
||||||
@halt_timeout = UNSET_VALUE
|
@halt_timeout = UNSET_VALUE
|
||||||
@halt_check_interval = UNSET_VALUE
|
@halt_check_interval = UNSET_VALUE
|
||||||
@suexec_cmd = 'sudo'
|
@suexec_cmd = UNSET_VALUE
|
||||||
@device = "net"
|
@device = UNSET_VALUE
|
||||||
end
|
end
|
||||||
|
|
||||||
def finalize!
|
def finalize!
|
||||||
|
@ -25,6 +25,9 @@ module VagrantPlugins
|
||||||
if @halt_check_interval != UNSET_VALUE
|
if @halt_check_interval != UNSET_VALUE
|
||||||
puts "solaris11.halt_check_interval is deprecated and will be removed in Vagrant 1.7"
|
puts "solaris11.halt_check_interval is deprecated and will be removed in Vagrant 1.7"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@suexec_cmd = "sudo" if @suexec_cmd == UNSET_VALUE
|
||||||
|
@device = "net" if @device == UNSET_VALUE
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue