Read driver from config instead of hard-coding to kvm.

This commit is contained in:
Martin Mauch 2014-02-20 00:59:06 +01:00
parent 84d1f8380d
commit e382687089

View File

@ -28,8 +28,8 @@ module VagrantPlugins
@cmd_line = config.cmd_line
@initrd = config.initrd
# TODO get type from driver config option
@domain_type = 'kvm'
config = env[:machine].provider_config
@domain_type = config.driver
@os_type = 'hvm'