lib/fog/vcloud_director/models/compute/vm_customization.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/vcloud_director/models/compute/vm_customization.rb in fog-maestrodev-1.18.0.20131111203459
- old
+ new
@@ -18,20 +18,21 @@
attribute :reset_password_required
attribute :virtual_machine_id
attribute :computer_name
attribute :has_customization_script
- # bug: for some reason if the customization_script has /r, is showed here as /n. Looks likes is something in excon
+ # bug: for some reason if the customization_script has /r, is showed
+ # here as /n. Looks likes is something in excon
def script
attributes[:customization_script]
end
def script=(new_script)
attributes[:customization_script] = new_script
end
def save
- response = service.put_vm_customization(id, attributes)
+ response = service.put_guest_customization_section_vapp(id, attributes)
service.process_task(response.body)
end
end
end