Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmotte/vagrant-vagrantbox
📦 Debian Vagrant box with Vagrant and VirtualBox for nested virtualization
https://github.com/dmotte/vagrant-vagrantbox
actions amd-v amdv ansible automation base box debian github github-actions inside intel nested nested-virtualization playbook vagrant virtualbox virtualization vt-x vtx
Last synced: 12 days ago
JSON representation
📦 Debian Vagrant box with Vagrant and VirtualBox for nested virtualization
- Host: GitHub
- URL: https://github.com/dmotte/vagrant-vagrantbox
- Owner: dmotte
- License: mit
- Created: 2022-11-19T08:50:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T10:33:19.000Z (about 2 months ago)
- Last Synced: 2024-10-27T14:20:57.805Z (about 2 months ago)
- Topics: actions, amd-v, amdv, ansible, automation, base, box, debian, github, github-actions, inside, intel, nested, nested-virtualization, playbook, vagrant, virtualbox, virtualization, vt-x, vtx
- Homepage: https://app.vagrantup.com/dmotte/boxes/vagrantbox
- Size: 25.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vagrant-vagrantbox
[![GitHub main workflow](https://img.shields.io/github/actions/workflow/status/dmotte/vagrant-vagrantbox/main.yml?branch=main&logo=github&label=main&style=flat-square)](https://github.com/dmotte/vagrant-vagrantbox/actions)
[![Vagrant Cloud](https://img.shields.io/badge/vagrant-dmotte/vagrantbox-blue?logo=vagrant&style=flat-square)](https://app.vagrantup.com/dmotte/boxes/vagrantbox):package: **Debian Vagrant box** with **Vagrant** and **VirtualBox** for nested virtualization.
This project uses [dmotte/vagrant-ansiblebox](https://github.com/dmotte/vagrant-ansiblebox) as base box.
> :package: This box is also on **Vagrant Cloud** as [`dmotte/vagrantbox`](https://app.vagrantup.com/dmotte/boxes/vagrantbox).
## Usage
See https://github.com/dmotte/misc/blob/main/examples/vagrant-ansible-provisioner for inspiration on how you could use this box.
Remember to give your VM a decent amount of **RAM** and **CPU**, because it has to run other VMs inside.
```ruby
config.vm.provider "virtualbox" do |vb|
vb.memory = 8192
vb.cpus = 8
end
```If you want to be able to access the **VirtualBox GUI**, you must set the Vagrant **X11 forwarding** flag:
```ruby
config.ssh.forward_x11 = true
```and also install the `xauth` package inside the VM:
```ruby
config.vm.provision "shell", inline: <<-SHELL
apt-get update; apt-get install -y xauth
SHELL
```