lib/vagrant-mutate/mutate.rb in vagrant-mutate-0.2.1 vs lib/vagrant-mutate/mutate.rb in vagrant-mutate-0.2.2
- old
+ new
@@ -1,6 +1,7 @@
require 'vagrant-mutate/box_loader'
+require 'vagrant-mutate/qemu'
require 'vagrant-mutate/converter/converter'
module VagrantMutate
class Mutate < Vagrant.plugin(2, :command)
@@ -17,9 +18,12 @@
return
end
box_arg = argv[0]
output_provider_arg = argv[1]
+
+ Qemu.verify_qemu_installed
+ Qemu.verify_qemu_version(@env)
input_loader = BoxLoader.new(@env)
input_box = input_loader.load(box_arg)
output_loader = BoxLoader.new(@env)