lib/vagrant/config/vm.rb in vagrant-0.9.1 vs lib/vagrant/config/vm.rb in vagrant-0.9.2
- old
+ new
@@ -37,9 +37,17 @@
result.instance_variable_set(:@provisioners, @provisioners + other.provisioners)
result.instance_variable_set(:@customizations, @customizations + other.customizations)
result
end
+ def system=(value)
+ raise Errors::DeprecationError, :message => <<-MESSAGE
+`config.vm.system` has changed to `config.vm.guest` in Vagrant 0.9,
+since this is more clear about the use of the configuration key.
+Please change all references of `config.vm.system` to `config.vm.guest`.
+ MESSAGE
+ end
+
def forward_port(guestport, hostport, options=nil)
if !guestport.kind_of?(Integer)
raise Errors::DeprecationError, :message => <<-MESSAGE
`config.vm.forward_port` changed in 0.9.0 where the required name
argument is now removed. Vagrant will now automatically generate