2012-04-19 00:38:20 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module GuestSolaris
|
2012-11-07 05:14:45 +00:00
|
|
|
class Config < Vagrant.plugin("2", :config)
|
2012-04-19 00:38:20 +00:00
|
|
|
attr_accessor :halt_timeout
|
|
|
|
attr_accessor :halt_check_interval
|
|
|
|
# This sets the command to use to execute items as a superuser. sudo is default
|
|
|
|
attr_accessor :suexec_cmd
|
|
|
|
attr_accessor :device
|
|
|
|
|
|
|
|
def initialize
|
2014-05-01 16:03:49 +00:00
|
|
|
@halt_timeout = UNSET_VALUE
|
|
|
|
@halt_check_interval = UNSET_VALUE
|
2012-04-19 00:38:20 +00:00
|
|
|
@suexec_cmd = 'sudo'
|
|
|
|
@device = "e1000g"
|
|
|
|
end
|
2014-05-01 16:03:49 +00:00
|
|
|
|
|
|
|
def finalize!
|
|
|
|
if @halt_timeout != UNSET_VALUE
|
|
|
|
puts "solaris.halt_timeout is deprecated and will be removed in Vagrant 1.7"
|
|
|
|
end
|
|
|
|
if @halt_check_interval != UNSET_VALUE
|
|
|
|
puts "solaris.halt_check_interval is deprecated and will be removed in Vagrant 1.7"
|
|
|
|
end
|
|
|
|
end
|
2012-04-19 00:38:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|