# File lib/deltacloud/drivers/vsphere/vsphere_filemanager.rb, line 45 def user_data!(datastore,base64_content,file_name) command="#{MKISOFS_EXECUTABLE} -stream-file-name #{file_name}.txt -stream-media-size #{ISO_SECTORS}" iso_file='' Open3::popen3(command) do |stdin, stdout, stderr| stdin.write(base64_content.unpack("m")) stdin.close() iso_file=StringIO::new(stdout.read) end uploadFile(datastore,iso_file,file_name) end