ananace / fog-hyperv

Hyper-V provider for fog
MIT License
8 stars 1 forks source link

Missing set_vm_network_adapter_vlan.rb #18

Closed ksagle77 closed 6 years ago

ksagle77 commented 6 years ago

Hey,

After updating to version 0.0.6, I am unable to create or view VMs. The following error is thrown:

image

Following error is thrown when testing from command line:

image

Issue is missing file for set_vm_network_adapter_vlan referenced in compute.rb. It works correctly after creating the file.

[kevin@zabbix dev]$ vim fog-hyperv/lib/fog/hyperv/requests/compute/set_vm_network_adapter_vlan.rb

module Fog
  module Compute
    class Hyperv
      class Real
        def set_vm_network_adapter_vlan(options = {})
          requires_one options, :vm_name, :management_os
          run_shell('Set-VMNetworkAdapterVlan', options)
        end
      end
    end
  end
end

image

Kevin

ananace commented 6 years ago

I apparently forgot to add the request file when doing the commit, pushed it now and decided to push a release for that as well.

Are you sure you updated to 0.0.6 though? Because that request was added on the commit after the version tag.

Either way, this issue should be solved, thanks.

ksagle77 commented 6 years ago

Hey,

Sorry, yea I had updated from git not from the gem.

Thanks,

Kevin