# -*- encoding: utf-8 -*- module Fog module Vcloud class Compute class Real def configure_vm_customization_script(vmdata) edit_uri = vmdata[:href] body = < Specifies Guest OS Customization Settings true #{CGI.escapeHTML(vmdata[:CustomizationScript])} #{vmdata[:ComputerName]} EOF request( :body => body, :expects => 202, :headers => {'Content-Type' => vmdata[:type] }, :method => 'PUT', :uri => "#{edit_uri}", :parse => true ) end end end end end