Closed cdituri closed 5 years ago
Just noticed [maintainer = @zimbatm] in the repo description, so tagging you here! thanks.
Default vagrant synced folder protocol for the libvirt qemu provider is rsync; however this mechanism is uni-directional, host => guest only. For bi-directional support, consider using 9p protocol; see minimal Vagrantfile below.
I can confirm that the libvirt.nested = true
option works as expected- which is interesting, at least to me, from a nixos-build build-vm
perspective :-)
Vagrant.configure("2") do |config|
config.vm.box = "nixbox64"
config.vm.synced_folder './', '/vagrant', type: '9p', disabled: false, accessmode: "squash", owner: "1000"
config.vm.provider "libvirt" do |libvirt|
libvirt.cpus = 1
libvirt.memory = 2048
libvirt.nested = true
end
end
really cool, thanks!
do you mind also extending the README usage a bit? Other than that it looks ready to go.
do you mind also extending the README usage a bit? Other than that it looks ready to go.
No problem @zimbatm - I've updated the README in d729e86
thanks!
I've been working with nixos a lot and the
nixbox
is great for quickly getting started! Sending my thanks out to all contributors.Noticed there was no qemu-kvm support/vagrant_boxes however (my preference) so decided to add it as an optional builder and contribute back.
Thus, this PR provides the following:
062736b - fix the sha256 field extraction in iso_urls_update.rb
cda5b49 - code cleanup
54cedc8 - add support for qemu packer builder. Current
make
behavior is maintained; one must opt-in to using the qemu builder.Usages as follows: