mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Read driver from config instead of hard-coding to kvm.
This commit is contained in:
parent
84d1f8380d
commit
e382687089
@ -28,8 +28,8 @@ module VagrantPlugins
|
|||||||
@cmd_line = config.cmd_line
|
@cmd_line = config.cmd_line
|
||||||
@initrd = config.initrd
|
@initrd = config.initrd
|
||||||
|
|
||||||
# TODO get type from driver config option
|
config = env[:machine].provider_config
|
||||||
@domain_type = 'kvm'
|
@domain_type = config.driver
|
||||||
|
|
||||||
@os_type = 'hvm'
|
@os_type = 'hvm'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user