stud/install/eoan/Vagrantfile
Motiejus Jakštys 33f7f3724a try xsession
2019-11-26 17:34:43 +02:00

24 lines
715 B
Ruby

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/eoan64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
# my geom: 2560x1600
# vncserver -geometry 1280x800 small window
# vncserver -geometry 1920x1200 small letters
# vncserver -geometry 1536x960 great
config.vm.provision "shell", inline: <<-SHELL
mkdir -p .ssh
curl https://github.com/motiejus.keys >> .ssh/authorized_keys
apt-get update
apt-get install -y \
qgis freecad \
openbox-lxde-session lxterminal tightvncserver
mkdir -p .vnc
SHELL
config.vm.provision "file", source: "xesssion", destination: ".vnc/xsession"
end