💾 Archived View for capsule.jbowdre.lol › gemlog › 2024-02-06-box-salt.gmi captured on 2024-05-10 at 10:36:28. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Last year, I figured out how to use HashiCorp Vagrant to provision and manage virtual machines on a Chromebook. I used that for some lightweight tinkering and to learn a bit more about how to use Salt for configuration management in a safe and self-contained environment.
runtimeterror: Create Virtual Machines on a Chromebook with HashiCorp Vagrant
Well, I'm about to need to do a lot more Salt work, so last night I decided to refresh my Vagrant setup a bit. I switched to using some newer machine images ("boxes"), and made some tweaks to support the latest "onedir" Salt releases. Being able to quickly spin up/down a lab environment with minions running various Linux flavors is a huge help to my development process.
Salt Documentation: What is onedir?
$ vagrant status Current machine states: salt running (libvirt) # master, ubuntu 22.04 minion01 running (libvirt) # ubuntu 22.04 minion02 running (libvirt) # ubuntu 20.04 minion03 running (libvirt) # rocky 8 minion04 running (libvirt) # rocky 9
To make it easier to deploy, test, break, tear down, and redeploy the environment:
The full details of this setup are in my GitHub:
vagrant-saltlab: A small Vagrant lab environment for learning Salt
Okay, back to work!
─────
CC BY-SA