fog / fog-libvirt

libvirt provider for fog
MIT License
16 stars 42 forks source link

Fog::Compute.new().servers.create() returns wrong settings back #149

Open davispuh opened 1 month ago

davispuh commented 1 month ago

Currently if you create a server using

compute = Fog::Compute.new(provider: :libvirt, libvirt_uri: 'qemu:///system')
result = compute.servers.create(cpu: { mode: 'host-passthrough' })
puts result
<Fog::Libvirt::Compute::Server
...
cpu={},

Then returned settings are defaults and not the ones that were set. This is not just for CPU but for other fields aswell.