def force_customization_vapp(vappId)
      builder = Nokogiri::XML::Builder.new do |xml|
        xml.DeployVAppParams(
          "xmlns" => "http://www.vmware.com/vcloud/v1.5",
          "forceCustomization" => "true")
      end

      params = {
        "method" => :post,
        "command" => "/vApp/vapp-#{vappId}/action/deploy"
      }

      response, headers = send_request(params, builder.to_xml, "application/vnd.vmware.vcloud.deployVAppParams+xml")
      task_id = headers[:location].gsub(/.*\/task\//, "")
      task_id
    end
def force_customization_vapp(vappId)
      builder = Nokogiri::XML::Builder.new do |xml|
        xml.DeployVAppParams(
          "xmlns" => "http://www.vmware.com/vcloud/v1.5",
          "forceCustomization" => "true")
      end

      params = {
        "method" => :post,
        "command" => "/vApp/vapp-
      }

      response, headers = send_request(params, builder.to_xml, "application/vnd.vmware.vcloud.deployVAppParams+xml")
      task_id = headers[:location].gsub(/.*\/task\//, "")
      task_id
    end
def force_customization_vapp ( vappId ) builder = Nokogiri :: XML :: Builder . new do | xml | xml . DeployVAppParams ( "xmlns" => "http://www.vmware.com/vcloud/v1.5" , "forceCustomization" => "true" ) end params = { "method" => :post , "command" => "/vApp/vapp-#{vappId}/action/deploy" } response , headers = send_request ( params , builder . to_xml , "application/vnd.vmware.vcloud.deployVAppParams+xml" ) task_id = headers [ :location ] . gsub ( / \/ \/ / , "" ) task_id end
Force a guest customization
Force a guest customization