Skip to content

Commit

Permalink
feat: replaced unsupported ide with q35 machine type with scsi cdrom …
Browse files Browse the repository at this point in the history
…driver
  • Loading branch information
smirta authored and ekohl committed Jul 15, 2024
1 parent ef380f8 commit 7823436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fog/libvirt/models/compute/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ def to_xml
xml.disk(:type => "file", :device => "cdrom") do
xml.driver(:name => "qemu", :type => "raw")
xml.source(:file => "#{iso_dir}/#{iso_file}")
xml.target(:dev => "hdc", :bus => "ide")
xml.target(:dev => "sda", :bus => "scsi")
xml.readonly
xml.address(:type => "drive", :controller => 0, :bus => 1, :unit => 0)
xml.address(:type => "drive", :controller => 0, :bus => 0, :unit => 0)
end
end

Expand Down

0 comments on commit 7823436

Please sign in to comment.