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.
22 23 24 |
# File 'lib/vagrant-vcloud.rb', line 22 def vappid @vappid end |
Instance Method Details
#get_vapp_id ⇒ vAppId
This returns the vCloud Director vApp ID.
55 56 57 58 59 60 61 62 |
# File 'lib/vagrant-vcloud.rb', line 55 def get_vapp_id vappid_file = @data_dir.join("../../../vcloud_vappid") if vappid_file.file? @vappid = vappid_file.read else nil end end |