Created
January 28, 2022 21:02
-
-
Save apwiggins/119ee973648d7ce9596d34e42636b8a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrant configuration standard version 2 | |
Vagrant.configure("2") do |config| | |
#config.vm.box = "bento/ubuntu-20.04" | |
config.vm.box = "peru/ubuntu-20.04-desktop-amd64" | |
#current folder will be shared in the vagrant VM | |
config.vm.synced_folder ".", "/home/vagrant/shared" | |
config.vm.provider "virtualbox" do |vb| | |
vb.gui = true | |
vb.memory = "4096" | |
vb.cpus = 4 | |
vb.customize ['modifyvm', :id, '--graphicscontroller', 'vmsvga'] | |
vb.customize ['modifyvm', :id, '--accelerate3d', 'on'] | |
vb.customize ['modifyvm', :id, '--vram', '128'] | |
vb.customize ['modifyvm', :id, '--vrde', 'off'] | |
#vb.customize ['modifyvm', :id, '--audiocontroller', 'hda'] | |
vb.customize ['modifyvm', :id, '--clipboard', 'bidirectional'] | |
vb.customize ['modifyvm', :id, '--draganddrop', 'bidirectional'] | |
# Make the DNS calls be resolved on host | |
#vb.customize ['modifyvm', :id, '--natdnshostresolver1', 'on'] | |
end | |
config.vm.provision "shell", inline: <<-SHELL | |
apt-get update | |
apt-get -y upgrade | |
SHELL | |
config.vm.provision :shell, privileged: false, inline: <<-SHELL | |
cd shared/release-8.0.0/core-release-8.0.0 | |
./setup.sh | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment