Open miurahr opened 10 years ago
@miurahr we can't automerge, could you rebase?
rebased.
thx @miurahr , if some-one else can confirm and test this.
Any progress?
This PR doesn't make sense to me:
ruby-libvirt
uses ::Libvirt
which is different from Sahara::Session::Libvirt
.lib/sahara/session/kvm.rb
which does not contain KVM-specific code, only libvirt code.What am I missing?
- It adds lib/sahara/session/kvm.rb which does not contain KVM-specific code, only libvirt code.
What am I missing?
Oh I see, I was missing that this is adding support for vagrant-kvm
, which just like vagrant-libvirt
, uses libvirt
as the backend. However my first question about the (lack of) namespace conflict still stands.
Also it doesn't seem good that this is mostly a copy'n'paste from lib/sahara/session/libvirt.rb
- surely it could inherit from Sahara::Session::ProviderLibvirt
and then override the necessary bits?
support KVM provider
I need to rename Libvirt as ProviderLibvirt to name congestion, because ruby-libvirt has Libvirt namespace.
Signed-off-by: Hiroshi Miura miurahr@linux.com