Register Solaris system.

This commit is contained in:
Lincoln Stoll 2010-12-08 11:45:42 +11:00 committed by Mitchell Hashimoto
parent 0e0bc33137
commit 9dae6635b5
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ module Vagrant
raise Errors::VMSystemError.new(:_key => :invalid_class, :system => system.to_s) if !@system.is_a?(Systems::Base)
elsif system.is_a?(Symbol)
# Hard-coded internal systems
mapping = { :linux => Systems::Linux }
mapping = { :linux => Systems::Linux, :solaris => Systems::Solaris }
raise Errors::VMSystemError.new(:_key => :unknown_type, :system => system.to_s) if !mapping.has_key?(system)
@system = mapping[system].new(self)