Class: Vagrant::Machine
- Inherits:
-
Object
- Object
- Vagrant::Machine
- Defined in:
- lib/vagrant-vcloud.rb
Instance Attribute Summary collapse
-
#vappid ⇒ Object
Returns the value of attribute vappid.
Instance Method Summary collapse
-
#get_vapp_id ⇒ vAppId
This returns the vCloud Director vApp ID.
Instance Attribute Details
#vappid ⇒ Object
Returns the value of attribute vappid.
21 22 23 |
# File 'lib/vagrant-vcloud.rb', line 21 def vappid @vappid end |
Instance Method Details
#get_vapp_id ⇒ vAppId
This returns the vCloud Director vApp ID.
54 55 56 57 58 59 60 61 |
# File 'lib/vagrant-vcloud.rb', line 54 def get_vapp_id vappid_file = @data_dir.join('../../../vcloud_vappid') if vappid_file.file? @vappid = vappid_file.read else nil end end |