Skip to content

Commit

Permalink
shows customizationScript of a VM
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Estebanez committed May 28, 2013
1 parent 620483c commit b39783f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/fog/vcloud/models/compute/server.rb
Expand Up @@ -31,6 +31,11 @@ class Server < Fog::Vcloud::Model
def tags
Fog::Vcloud::Compute::Tags.new(:service => service, :href => href + '/metadata')
end

def customization_script
load_unless_loaded!
self.guest_customization[:CustomizationScript]
end

def computer_name
load_unless_loaded!
Expand Down

0 comments on commit b39783f

Please sign in to comment.