mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Allow custom name for disk device
This is needed for example for xen in full virtualisation mode as it won't allow the default vda
This commit is contained in:
@@ -36,6 +36,7 @@ describe 'templates/domain' do
|
||||
domain.instance_variable_set('@domain_volume_path', '/var/lib/libvirt/images/test.qcow2')
|
||||
domain.instance_variable_set('@domain_volume_cache', 'unsafe')
|
||||
domain.disk_bus = 'ide'
|
||||
domain.disk_device = 'vda'
|
||||
domain.storage(:file, path: 'test-disk1.qcow2')
|
||||
domain.storage(:file, path: 'test-disk2.qcow2')
|
||||
domain.disks.each do |disk|
|
||||
|
||||
Reference in New Issue
Block a user