Class: Vagrant::Guest::Linux::LinuxConfig
- Inherits:
-
Config::Base
- Object
- Config::Base
- Vagrant::Guest::Linux::LinuxConfig
- Defined in:
- lib/vagrant/guest/linux/config.rb
Overview
A custom config class which will be made accessible via config.linux
This is not necessary for all system implementers, of course. However,
generally, Vagrant tries to make almost every aspect of its execution
configurable, and this assists that goal.
Instance Attribute Summary collapse
-
#halt_check_interval ⇒ Object
Returns the value of attribute halt_check_interval.
-
#halt_timeout ⇒ Object
Returns the value of attribute halt_timeout.
Instance Method Summary collapse
-
#initialize ⇒ LinuxConfig
constructor
A new instance of LinuxConfig.
Methods inherited from Config::Base
#instance_variables_hash, json_create, #merge, #set_options, #to_hash, #to_json, #validate
Constructor Details
#initialize ⇒ LinuxConfig
Returns a new instance of LinuxConfig.
12 13 14 15 |
# File 'lib/vagrant/guest/linux/config.rb', line 12 def initialize @halt_timeout = 30 @halt_check_interval = 1 end |
Instance Attribute Details
#halt_check_interval ⇒ Object
Returns the value of attribute halt_check_interval.
10 11 12 |
# File 'lib/vagrant/guest/linux/config.rb', line 10 def halt_check_interval @halt_check_interval end |
#halt_timeout ⇒ Object
Returns the value of attribute halt_timeout.
9 10 11 |
# File 'lib/vagrant/guest/linux/config.rb', line 9 def halt_timeout @halt_timeout end |