Register Solaris system.
This commit is contained in:
parent
0e0bc33137
commit
9dae6635b5
|
@ -56,7 +56,7 @@ module Vagrant
|
||||||
raise Errors::VMSystemError.new(:_key => :invalid_class, :system => system.to_s) if !@system.is_a?(Systems::Base)
|
raise Errors::VMSystemError.new(:_key => :invalid_class, :system => system.to_s) if !@system.is_a?(Systems::Base)
|
||||||
elsif system.is_a?(Symbol)
|
elsif system.is_a?(Symbol)
|
||||||
# Hard-coded internal systems
|
# 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)
|
raise Errors::VMSystemError.new(:_key => :unknown_type, :system => system.to_s) if !mapping.has_key?(system)
|
||||||
@system = mapping[system].new(self)
|
@system = mapping[system].new(self)
|
||||||
|
|
Loading…
Reference in New Issue