Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 485 Bytes
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "fedora" do |fedora|
fedora.vm.box = "fedora/28-cloud-base"
config.vm.hostname = "fedora"
end
config.vm.provider "virtualbox" do |virtualbox, override|
virtualbox.memory = 4096
virtualbox.cpus = 4
end
config.vm.provision "shell", privileged: false, inline: <<-SHELL
echo '127.0.0.1 localhost' | cat - /etc/hosts > temp && sudo mv temp /etc/hosts
SHELL
end