Sha256: 3324b43f5ea448de34c0879581a92f50b869478ddfb79b8c80e8a0c97661f1f1

Contents?: true

Size: 420 Bytes

Versions: 6

Compression:

Stored size: 420 Bytes

Contents

module VagrantMutate
  module Converter
    class Libvirt < Converter

      def generate_metadata
        metadata = {
          'provider' => @output_box.provider_name,
          'format'   => @output_box.image_format,
          'virtual_size' => ( @input_box.virtual_size.to_f / (1024 * 1024 * 1024) ).ceil
        }
      end

      def write_specific_files
        # nothing to do here
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-mutate-0.2.3 lib/vagrant-mutate/converter/libvirt.rb
vagrant-mutate-0.2.2 lib/vagrant-mutate/converter/libvirt.rb
vagrant-mutate-0.2.1 lib/vagrant-mutate/converter/libvirt.rb
vagrant-mutate-0.2.0 lib/vagrant-mutate/converter/libvirt.rb
vagrant-mutate-0.1.5 lib/vagrant-mutate/converter/libvirt.rb
vagrant-mutate-0.1.4 lib/vagrant-mutate/converter/libvirt.rb