From eedc8ea6b1521b4477cb0e6c4be0a77a928e2ce0 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Sat, 21 Dec 2024 00:26:23 +0100 Subject: [PATCH] Use correct ceph_args variable Fixes: 6db6f8089418599044be39373f3baf17402b5cca ("Replace server XML with Nokogiri::XML::Builder") --- lib/fog/libvirt/models/compute/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/libvirt/models/compute/server.rb b/lib/fog/libvirt/models/compute/server.rb index fa2f4b7..4745ea6 100644 --- a/lib/fog/libvirt/models/compute/server.rb +++ b/lib/fog/libvirt/models/compute/server.rb @@ -363,7 +363,7 @@ def to_xml end end - xml.target(:dev => target_device, :bus => args["bus_type"] == "virtio" ? "virtio" : "scsi") + xml.target(:dev => target_device, :bus => ceph_args["bus_type"] == "virtio" ? "virtio" : "scsi") end else is_block = volume.path.start_with?("/dev/")