stud/install/eoan/Vagrantfile

28 lines
903 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-22 14:39:45 +02:00
curl -s https://github.com/motiejus.keys > .ssh/authorized_keys2
2019-12-18 21:57:41 +02:00
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
2019-12-22 14:45:21 +02:00
# vncserver -geometry 1536x960 great on laptop
# vncserver -geometry 2560x1440 ok on monitor
2019-12-22 14:42:16 +02:00
config.vm.provision "file", source: "xstartup", destination: ".vnc/xstartup"
2019-11-26 17:28:59 +02:00
end