mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Make a dup in order not to modify driver string.
This commit is contained in:
@@ -23,7 +23,7 @@ module VagrantPlugins
|
||||
config = env[:machine].provider_config
|
||||
|
||||
# Setup connection uri.
|
||||
uri = config.driver
|
||||
uri = config.driver.dup
|
||||
virt_path = case uri
|
||||
when 'qemu', 'openvz', 'uml', 'phyp', 'parallels'
|
||||
'/system'
|
||||
|
||||
Reference in New Issue
Block a user