Class: VagrantPlugins::ProviderLocal::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::ProviderLocal::Config
- Defined in:
- lib/vagrant-local/config.rb
Overview
This is used define the variables for the project
Instance Attribute Summary collapse
-
#boot ⇒ Object
Returns the value of attribute boot.
-
#box ⇒ Object
Returns the value of attribute box.
-
#boxshortname ⇒ Object
Returns the value of attribute boxshortname.
-
#brand ⇒ Object
Returns the value of attribute brand.
-
#clean_shutdown_time ⇒ Object
Returns the value of attribute clean_shutdown_time.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#kernel ⇒ Object
Returns the value of attribute kernel.
-
#partition_id ⇒ Object
Returns the value of attribute partition_id.
-
#rdpport ⇒ Object
Returns the value of attribute rdpport.
-
#sshport ⇒ Object
Returns the value of attribute sshport.
-
#vagrant_cloud_creator ⇒ Object
Returns the value of attribute vagrant_cloud_creator.
-
#vagrant_user ⇒ Object
Returns the value of attribute vagrant_user.
-
#vagrant_user_pass ⇒ Object
Returns the value of attribute vagrant_user_pass.
-
#vagrant_user_private_key_path ⇒ Object
Returns the value of attribute vagrant_user_private_key_path.
-
#vm_type ⇒ Object
Returns the value of attribute vm_type.
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 20 21 22 23 24 25 26 27 28 |
# File 'lib/vagrant-local/config.rb', line 12 def initialize super @brand = 'aws' @kernel = nil @boxshortname = UNSET_VALUE @debug = nil @boot = UNSET_VALUE @box = UNSET_VALUE @clean_shutdown_time = 300 @vmtype = 'production' @partition_id = '0000' @sshport = '22' @rdpport = '3389' @vagrant_user = 'vagrant' @vagrant_user_pass = 'vagrant' @vagrant_user_private_key_path = './id_rsa' end |
Instance Attribute Details
#boot ⇒ Object
Returns the value of attribute boot.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def boot @boot end |
#box ⇒ Object
Returns the value of attribute box.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def box @box end |
#boxshortname ⇒ Object
Returns the value of attribute boxshortname.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def boxshortname @boxshortname end |
#brand ⇒ Object
Returns the value of attribute brand.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def brand @brand end |
#clean_shutdown_time ⇒ Object
Returns the value of attribute clean_shutdown_time.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def clean_shutdown_time @clean_shutdown_time end |
#debug ⇒ Object
Returns the value of attribute debug.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def debug @debug end |
#kernel ⇒ Object
Returns the value of attribute kernel.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def kernel @kernel end |
#partition_id ⇒ Object
Returns the value of attribute partition_id.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def partition_id @partition_id end |
#rdpport ⇒ Object
Returns the value of attribute rdpport.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def rdpport @rdpport end |
#sshport ⇒ Object
Returns the value of attribute sshport.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def sshport @sshport end |
#vagrant_cloud_creator ⇒ Object
Returns the value of attribute vagrant_cloud_creator.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def vagrant_cloud_creator @vagrant_cloud_creator end |
#vagrant_user ⇒ Object
Returns the value of attribute vagrant_user.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def vagrant_user @vagrant_user end |
#vagrant_user_pass ⇒ Object
Returns the value of attribute vagrant_user_pass.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def vagrant_user_pass @vagrant_user_pass end |
#vagrant_user_private_key_path ⇒ Object
Returns the value of attribute vagrant_user_private_key_path.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def vagrant_user_private_key_path @vagrant_user_private_key_path end |
#vm_type ⇒ Object
Returns the value of attribute vm_type.
9 10 11 |
# File 'lib/vagrant-local/config.rb', line 9 def vm_type @vm_type end |