An open API service indexing awesome lists of open source software.

https://github.com/cloudwithdan/vagrant-toolbox

Container ready Vagrant Libvirt in your desired distribution.
https://github.com/cloudwithdan/vagrant-toolbox

Last synced: 4 months ago
JSON representation

Container ready Vagrant Libvirt in your desired distribution.

Awesome Lists containing this project

README

          

# Vangrat libvirt containerized

## Build the container

```sh
podman build -t localhost/vagrant-container-fedora:latest -f Dockerfile.(fedora || ubuntu || almalinux) .
```

## Create a ~/.local/bin/vagrant-(fedora || ubuntu || almalinux)

```sh
#! /bin/env bash

podman run -it --rm \
--env LIBVIRT_DEFAULT_URI \
--volume /var/run/libvirt/:/var/run/libvirt/ \
--volume ~/.vagrant.d:/.vagrant.d \
--volume $(realpath "${PWD}"):${PWD} \
--workdir "${PWD}" \
--privileged \
--net host \
--security-opt label=disable \
localhost/vagrant-container-fedora:latest
```