Class: VagrantPlugins::ProviderZone::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::ProviderZone::Config
- Defined in:
- lib/vagrant-zone/config.rb
Instance Attribute Summary collapse
-
#autoboot ⇒ Object
Returns the value of attribute autoboot.
-
#brand ⇒ Object
Returns the value of attribute brand.
-
#kernel ⇒ Object
Returns the value of attribute kernel.
-
#memory ⇒ Object
Returns the value of attribute memory.
-
#zonepath ⇒ Object
Returns the value of attribute zonepath.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
12 13 14 15 16 17 18 19 |
# File 'lib/vagrant-zone/config.rb', line 12 def initialize # pkgsrc, lx, bhyve, kvm, illumos @brand = UNSET_VALUE @autoboot = false @kernel = UNSET_VALUE @zonepath = UNSET_VALUE @memory = UNSET_VALUE end |
Instance Attribute Details
#autoboot ⇒ Object
Returns the value of attribute autoboot.
7 8 9 |
# File 'lib/vagrant-zone/config.rb', line 7 def autoboot @autoboot end |
#brand ⇒ Object
Returns the value of attribute brand.
6 7 8 |
# File 'lib/vagrant-zone/config.rb', line 6 def brand @brand end |
#kernel ⇒ Object
Returns the value of attribute kernel.
8 9 10 |
# File 'lib/vagrant-zone/config.rb', line 8 def kernel @kernel end |
#memory ⇒ Object
Returns the value of attribute memory.
10 11 12 |
# File 'lib/vagrant-zone/config.rb', line 10 def memory @memory end |
#zonepath ⇒ Object
Returns the value of attribute zonepath.
9 10 11 |
# File 'lib/vagrant-zone/config.rb', line 9 def zonepath @zonepath end |