Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created February 13, 2020 13:22
Show Gist options
  • Save pvalena/9fd8cf6a613a026001b365c1122ac23d to your computer and use it in GitHub Desktop.
Save pvalena/9fd8cf6a613a026001b365c1122ac23d to your computer and use it in GitHub Desktop.
how to run Vagrant+tmt on F30
➜ 1 cat Dockerfile
FROM fedora:30
RUN dnf group install -y 'C Development Tools and Libraries' && \
dnf install -y vagrant --setopt=install_weak_deps=False && \
dnf install -y redhat-rpm-config libvirt-devel ruby-devel && \
dnf install -y rubygem-{formatador,excon,builder,ruby-libvirt,nokogiri}
RUN vagrant plugin install vagrant-libvirt && \
vagrant plugin install vagrant-managed-servers && \
vagrant plugin install vagrant-rsync-back
➜ 1 podman run -it --rm fedora30:vagrant
[root@2f01f722febc /]# cd
[root@2f01f722febc ~]# vagrant init -fm fedora/31-cloud-base
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
[root@2f01f722febc ~]# vagrant plugin list
vagrant-libvirt (0.0.45, global)
vagrant-managed-servers (0.8.0, global)
vagrant-rsync-back (0.0.1, global)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment