guests/smartos: Remove deprecated options
This commit is contained in:
parent
fe4fa9dfce
commit
fb90c67a49
|
@ -1,26 +1,14 @@
|
||||||
module VagrantPlugins
|
module VagrantPlugins
|
||||||
module GuestSmartos
|
module GuestSmartos
|
||||||
class Config < Vagrant.plugin("2", :config)
|
class Config < Vagrant.plugin("2", :config)
|
||||||
attr_accessor :halt_timeout
|
# This sets the command to use to execute items as a superuser.
|
||||||
attr_accessor :halt_check_interval
|
# @default sudo
|
||||||
# This sets the command to use to execute items as a superuser. sudo is default
|
|
||||||
attr_accessor :suexec_cmd
|
attr_accessor :suexec_cmd
|
||||||
attr_accessor :device
|
attr_accessor :device
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@halt_timeout = UNSET_VALUE
|
|
||||||
@halt_check_interval = UNSET_VALUE
|
|
||||||
@suexec_cmd = 'pfexec'
|
@suexec_cmd = 'pfexec'
|
||||||
@device = "e1000g"
|
@device = "e1000g"
|
||||||
end
|
|
||||||
|
|
||||||
def finalize!
|
|
||||||
if @halt_timeout != UNSET_VALUE
|
|
||||||
puts "smartos.halt_timeout is deprecated and will be removed in Vagrant 1.7"
|
|
||||||
end
|
|
||||||
if @halt_check_interval != UNSET_VALUE
|
|
||||||
puts "smartos.halt_check_interval is deprecated and will be removed in Vagrant 1.7"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue