/usr/lib/ruby/vendor_ruby/vagrant/config/vagrant.rb is in vagrant 1.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | module Vagrant
module Config
class VagrantConfig < Base
attr_accessor :dotfile_name
attr_accessor :host
def validate(env, errors)
[:dotfile_name, :host].each do |field|
errors.add(I18n.t("vagrant.config.common.error_empty", :field => field)) if !instance_variable_get("@#{field}".to_sym)
end
end
end
end
end
|