Closed acornies-tc closed 5 years ago
This is me ^ forgot to switch accounts when drafting up the issue.
This would be useful for testing. Do you know if it'd work with KVM on Linux too?
Hi @alexellis, in theory it should be fine with vagrant-libvirt plugin and the libvirt provider (I haven't tried it myself). More info here: https://github.com/vagrant-libvirt/vagrant-libvirt.
I could see adding something like this in the Vagrantfile:
config.vm.provider "libvirt" do |lv|
lv.cpus = 4
lv.memory = 1024
...
end
then to trigger it would be: vagrant up --provider=libvirt
Liking this so far, I have left a couple of comments, I think we can probably make things a little more generic.
Thanks @acornies this is merged in #46
Since this feature doesn't quite fit the issue template, I'll outline it below:
Provide a portable Vagrant environment via Vagrantfile that can:
Discussed briefly with @nicholasjackson, but wanted to track it.