Vagrant - DevOps Environment
· 3 min read
Inspiration
I recently wrote about building a Vagrant box, and I've finally finished it 🎉. It comes in two versions:
- A server version you access over SSH.
- A GUI version with desktop apps preinstalled 💻.
"Build steps"
Here's the same process as a diagram:
Installing on Windows
Check the resources available on your host OS:
CPU
WMIC CPU Get DeviceID,NumberOfCores,NumberOfLogicalProcessors
Look for the OS version and total RAM:
systeminfo |findstr /c:"OS Name" /c:"Total Physical Memory"

"Recommended resources"
- 2 vpcu
- 4Gi RAM
You'll need:
VirtualBox Guest Additions
vbguest vagrant plugin
danger
This only worked once for me 💀.
vagrant plugin uninstall vagrant-vbguest
vagrant destroy -f
vagrant up
vagrant plugin install vagrant-vbguest
vagrant vbguest --do install
ansible galaxy
Use my example. The Ansible role installs Guest Additions.
caution
I can't promise it will work on every machine, but it should take very little tweaking.
The secret option
You can always search the web or YouTube for how to make VirtualBox go full screen 😉.
Good luck, and may the Force be with you!
tip
If you haven't seen this yet, now's your chance:
Toggle me!
🦖 🦕
Links
Links
Links and articles that helped me build this:
