# File lib/vagrant-lxc/action/handle_box_metadata.rb, line 74 def validate_box unless SUPPORTED_VERSIONS.include? box_version raise Errors::IncompatibleBox.new name: @box.name, found: box_version, supported: SUPPORTED_VERSIONS.join(', ') end unless File.exists?(template_src) raise Errors::TemplateFileMissing.new name: @box.name end unless File.exists?(rootfs_tarball) raise Errors::RootFSTarballMissing.new name: @box.name end end