Mitchell Hashimoto 1a89e50da7 Import action
2010-02-13 11:56:33 -08:00

10 lines
262 B
Ruby

module Vagrant
module Actions
class Import < Base
def execute!
logger.info "Importing base VM (#{Vagrant.config[:vm][:base]})..."
@vm.vm = VirtualBox::VM.import(File.expand_path(Vagrant.config[:vm][:base]))
end
end
end
end