stud/install/eoan/Vagrantfile

30 lines
940 B
Ruby
Raw Normal View History

2019-11-26 17:28:59 +02:00
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
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y \
qgis freecad \
2019-11-27 10:21:50 +02:00
stow openbox-lxde-session lxterminal tightvncserver ipython3 \
2019-12-18 22:13:26 +02:00
tree virtualbox-guest-dkms
2019-12-11 00:00:02 +02:00
SHELL
config.vm.provision "shell", privileged: false, inline: <<-SHELL
mkdir -p .ssh .vnc
2019-12-18 21:57:41 +02:00
curl -s https://github.com/motiejus.keys >> .ssh/authorized_keys
git clone -q https://github.com/motiejus/dotfiles.git .dotfiles
2019-11-27 10:21:50 +02:00
(cd .dotfiles && stow bash tmux vim)
2019-11-26 17:28:59 +02:00
SHELL
2019-12-11 00:00:02 +02:00
# my geom: 2560x1600
# vncserver -geometry 1280x800 small window
# vncserver -geometry 1920x1200 small letters
# vncserver -geometry 1536x960 great
config.vm.provision "file", source: "xsession", destination: ".vnc/xsession"
2019-11-26 17:28:59 +02:00
end