Skip to content

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

@davispuh

Description

@davispuh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions