Skip to content

Commit 497adc7

Browse files
smirtaekohl
authored andcommitted
feat: replaced unsupported ide with q35 machine type with scsi cdrom driver
1 parent ef380f8 commit 497adc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fog/libvirt/models/compute/server.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ def to_xml
357357
xml.disk(:type => "file", :device => "cdrom") do
358358
xml.driver(:name => "qemu", :type => "raw")
359359
xml.source(:file => "#{iso_dir}/#{iso_file}")
360-
xml.target(:dev => "hdc", :bus => "ide")
360+
xml.target(:dev => "sda", :bus => "scsi")
361361
xml.readonly
362-
xml.address(:type => "drive", :controller => 0, :bus => 1, :unit => 0)
362+
xml.address(:type => "drive", :controller => 0, :bus => 0, :unit => 0)
363363
end
364364
end
365365

0 commit comments

Comments
 (0)