Class: VagrantPlugins::Dotvm::Config::Machine

Inherits:
AbstractConfig show all
Includes:
OptionsSetter
Defined in:
lib/vagrant-dotvm/config/machine.rb

Overview

Stores machine configuration

Constant Summary collapse

OPTIONS_CATEGORIES =
[
  :virtualbox
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from OptionsSetter

#options=

Methods inherited from AbstractConfig

#convert_array, #ensure_type, #populate

Constructor Details

#initialize(parent) ⇒ Machine

Returns a new instance of Machine.



47
48
49
# File 'lib/vagrant-dotvm/config/machine.rb', line 47

def initialize(parent)
  @parent = parent
end

Instance Attribute Details

#authorized_keysObject

Returns the value of attribute authorized_keys.



25
26
27
# File 'lib/vagrant-dotvm/config/machine.rb', line 25

def authorized_keys
  @authorized_keys
end

#autostartObject

Returns the value of attribute autostart.



31
32
33
# File 'lib/vagrant-dotvm/config/machine.rb', line 31

def autostart
  @autostart
end

#boot_timeoutObject

Returns the value of attribute boot_timeout.



26
27
28
# File 'lib/vagrant-dotvm/config/machine.rb', line 26

def boot_timeout
  @boot_timeout
end

#boxObject

Returns the value of attribute box.



15
16
17
# File 'lib/vagrant-dotvm/config/machine.rb', line 15

def box
  @box
end

#box_check_updateObject

Returns the value of attribute box_check_update.



27
28
29
# File 'lib/vagrant-dotvm/config/machine.rb', line 27

def box_check_update
  @box_check_update
end

#box_download_ca_certObject

Returns the value of attribute box_download_ca_cert.



38
39
40
# File 'lib/vagrant-dotvm/config/machine.rb', line 38

def box_download_ca_cert
  @box_download_ca_cert
end

#box_download_ca_pathObject

Returns the value of attribute box_download_ca_path.



39
40
41
# File 'lib/vagrant-dotvm/config/machine.rb', line 39

def box_download_ca_path
  @box_download_ca_path
end

#box_download_checksumObject

Returns the value of attribute box_download_checksum.



35
36
37
# File 'lib/vagrant-dotvm/config/machine.rb', line 35

def box_download_checksum
  @box_download_checksum
end

#box_download_checksum_typeObject

Returns the value of attribute box_download_checksum_type.



36
37
38
# File 'lib/vagrant-dotvm/config/machine.rb', line 36

def box_download_checksum_type
  @box_download_checksum_type
end

#box_download_client_certObject

Returns the value of attribute box_download_client_cert.



37
38
39
# File 'lib/vagrant-dotvm/config/machine.rb', line 37

def box_download_client_cert
  @box_download_client_cert
end

#box_download_insecureObject

Returns the value of attribute box_download_insecure.



40
41
42
# File 'lib/vagrant-dotvm/config/machine.rb', line 40

def box_download_insecure
  @box_download_insecure
end

#box_download_location_trustedObject

Returns the value of attribute box_download_location_trusted.



41
42
43
# File 'lib/vagrant-dotvm/config/machine.rb', line 41

def box_download_location_trusted
  @box_download_location_trusted
end

#box_urlObject

Returns the value of attribute box_url.



42
43
44
# File 'lib/vagrant-dotvm/config/machine.rb', line 42

def box_url
  @box_url
end

#box_versionObject

Returns the value of attribute box_version.



28
29
30
# File 'lib/vagrant-dotvm/config/machine.rb', line 28

def box_version
  @box_version
end

#communicatorObject

Returns the value of attribute communicator.



43
44
45
# File 'lib/vagrant-dotvm/config/machine.rb', line 43

def communicator
  @communicator
end

#cpucapObject

Returns the value of attribute cpucap.



18
19
20
# File 'lib/vagrant-dotvm/config/machine.rb', line 18

def cpucap
  @cpucap
end

#cpusObject

Returns the value of attribute cpus.



17
18
19
# File 'lib/vagrant-dotvm/config/machine.rb', line 17

def cpus
  @cpus
end

#graceful_halt_timeoutObject

Returns the value of attribute graceful_halt_timeout.



29
30
31
# File 'lib/vagrant-dotvm/config/machine.rb', line 29

def graceful_halt_timeout
  @graceful_halt_timeout
end

#groupsObject

Returns the value of attribute groups.



24
25
26
# File 'lib/vagrant-dotvm/config/machine.rb', line 24

def groups
  @groups
end

#guestObject

Returns the value of attribute guest.



44
45
46
# File 'lib/vagrant-dotvm/config/machine.rb', line 44

def guest
  @guest
end

#hostnameObject

name



14
15
16
# File 'lib/vagrant-dotvm/config/machine.rb', line 14

def hostname
  @hostname
end

#hostsObject

Returns the value of attribute hosts.



32
33
34
# File 'lib/vagrant-dotvm/config/machine.rb', line 32

def hosts
  @hosts
end

#memoryObject

Returns the value of attribute memory.



16
17
18
# File 'lib/vagrant-dotvm/config/machine.rb', line 16

def memory
  @memory
end

#natnetObject

Returns the value of attribute natnet.



20
21
22
# File 'lib/vagrant-dotvm/config/machine.rb', line 20

def natnet
  @natnet
end

#networksObject

Returns the value of attribute networks.



21
22
23
# File 'lib/vagrant-dotvm/config/machine.rb', line 21

def networks
  @networks
end

#nickObject

Returns the value of attribute nick.



13
14
15
# File 'lib/vagrant-dotvm/config/machine.rb', line 13

def nick
  @nick
end

#optionsObject (readonly)

mixin



33
34
35
# File 'lib/vagrant-dotvm/config/machine.rb', line 33

def options
  @options
end

#parentObject (readonly)

Returns the value of attribute parent.



12
13
14
# File 'lib/vagrant-dotvm/config/machine.rb', line 12

def parent
  @parent
end

#post_up_messageObject

Returns the value of attribute post_up_message.



30
31
32
# File 'lib/vagrant-dotvm/config/machine.rb', line 30

def post_up_message
  @post_up_message
end

#primaryObject

Returns the value of attribute primary.



19
20
21
# File 'lib/vagrant-dotvm/config/machine.rb', line 19

def primary
  @primary
end

#provisionObject

Returns the value of attribute provision.



23
24
25
# File 'lib/vagrant-dotvm/config/machine.rb', line 23

def provision
  @provision
end

#routesObject

Returns the value of attribute routes.



22
23
24
# File 'lib/vagrant-dotvm/config/machine.rb', line 22

def routes
  @routes
end

#shared_foldersObject

Returns the value of attribute shared_folders.



34
35
36
# File 'lib/vagrant-dotvm/config/machine.rb', line 34

def shared_folders
  @shared_folders
end

#usable_port_rangeObject

Returns the value of attribute usable_port_range.



45
46
47
# File 'lib/vagrant-dotvm/config/machine.rb', line 45

def usable_port_range
  @usable_port_range
end

Instance Method Details

#name=(value) ⇒ Object



51
52
53
# File 'lib/vagrant-dotvm/config/machine.rb', line 51

def name=(value)
  @hostname = value
end