mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Merge CDROM storage config blocks
This commit is contained in:
@@ -637,6 +637,9 @@ module VagrantPlugins
|
||||
c = disks.dup
|
||||
c += other.disks
|
||||
result.disks = c
|
||||
c = cdroms.dup
|
||||
c += other.cdroms
|
||||
result.cdroms = c
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -87,7 +87,7 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
||||
|
||||
context "with cdroms only" do
|
||||
context "assigned specific devs" do
|
||||
xit "should merge disks with specific devices" do
|
||||
it "should merge disks with specific devices" do
|
||||
one.storage(:file, :device => :cdrom, :dev => "hda")
|
||||
two.storage(:file, :device => :cdrom, :dev => "hdb")
|
||||
subject.finalize!
|
||||
|
||||
Reference in New Issue
Block a user