stud/install/eoan/Vagrantfile

29 lines
892 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
2019-11-26 17:49:58 +02:00
config.vm.provision "shell", inline: <<-SHELL
mkdir -p .ssh .vnc
curl https://github.com/motiejus.keys >> .ssh/authorized_keys
SHELL
2019-12-10 23:26:08 +02:00
config.vm.provision "file", source: "xsession", destination: ".vnc/xsession"
2019-11-26 17:49:58 +02:00
2019-11-26 17:28:59 +02:00
# my geom: 2560x1600
# vncserver -geometry 1280x800 small window
# vncserver -geometry 1920x1200 small letters
# vncserver -geometry 1536x960 great
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 \
tree
git clone https://github.com/motiejus/dotfiles.git .dotfiles
(cd .dotfiles && stow bash tmux vim)
2019-11-26 17:28:59 +02:00
SHELL
end