Replies: 5 comments 10 replies
-
Something that was discussed was to extend "script", to use something like ansible? As an example here was a Vagrantfile that I used, similar to the Lima k8s.yaml template: https://github.com/afbjorklund/vanilla-kubernetes/blob/master/Vagrantfile config.vm.provision "ansible" do |ansible|
ansible.compatibility_mode = '2.0'
ansible.playbook = "ansible/playbook.yml"
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
ansible.verbose = false
end It is possible that it could make to work the same, but not sure about out-of-the-box |
Beta Was this translation helpful? Give feedback.
-
Caching packages on the host was a feature that I missed, from vagrant-cachier. if Vagrant.has_plugin?("vagrant-cachier")
# Configure cached packages to be shared between instances of the same base box.
config.cache.scope = :box
end Again something that could be made to work with mounts, or be extended further. |
Beta Was this translation helpful? Give feedback.
-
In all fairness, Vagrant 2.3.7 is OSS (under the MIT license) https://github.com/hashicorp/vagrant/tree/v2.3.7 But it is very likely that Vagrant 3.x will not be, or if 2.x will be supported in 2024. |
Beta Was this translation helpful? Give feedback.
-
Relevant |
Beta Was this translation helpful? Give feedback.
-
Interesting discussion topic here @fwilhe ! I have been using vagrant for years, mostly on linux hosts and have only been made aware of lima recently, looking for alternatives to use on MacOS, because I have been facing problems getting vagrant to work on MacOS. So far, after first superficial experiments lima seems quite nice but compared to vagrant's compelling ease of use, some aspects of lima seem unnecessarily complicated to me. while lima's templates are conceptually similar to vagrant's boxes, vagrant's box interface is more obvious and self-explanatory for me. lima's shell access to the vm is confusing to me. I appear to be the same user as on the host and pwd in the lima shell is the host user's dir when invoking vagrant's convenient provisioning hooks are missing in lima, best I can tell. The biggest advantage I see in lima so far is the fact that I don't have to struggle with virtualisation "providers"like in vagrant. Providers have been the biggest inhibitor for vagrant for me on MacOS. configuration: while agrant's ruby-based Vagrantfiles are certainly not the simplest mechanisms on earth, they are quite powerful and I do prefer them over lima's yaml, because I am generally not a fan of yaml. license: I don't yet quite understand the point how vagrant's license change would drive users to lima: for me, having to chose between Apache and MIT licenses is like being stuck between a rock and a hard place. According to me, open source software should ideally use a copyleft license like the GPL. GPL would definitely drive me to lima. |
Beta Was this translation helpful? Give feedback.
-
Hi,
based on this pr I'd like to discuss how vagrant's license change might drive new users to lima.
I have used vagrant with the libvirt provider for quite some time, but it always worked a bit unreliable for me. Lima seems to be a much more stable environment for me, but I guess it does not have all features that vagrant has. From what I can see so far, the most important features are
All of the above worked well for me so far. I'd like to thank all lima contributors, it's so useful.
I'd like to use this discussion to learn from others if they think lima is a good alternative for vagrant and if you see any missing features.
Beta Was this translation helpful? Give feedback.
All reactions