From 4318b1fce14c7371c71e0272ee4d6711667f01c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 26 Nov 2019 17:49:58 +0200 Subject: [PATCH] move provisioning things around --- install/eoan/Vagrantfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install/eoan/Vagrantfile b/install/eoan/Vagrantfile index bd4d572..6b222ad 100644 --- a/install/eoan/Vagrantfile +++ b/install/eoan/Vagrantfile @@ -5,19 +5,22 @@ Vagrant.configure("2") do |config| vb.memory = "2048" end + config.vm.provision "shell", inline: <<-SHELL + mkdir -p .ssh .vnc + curl https://github.com/motiejus.keys >> .ssh/authorized_keys + SHELL + + config.vm.provision "file", source: "xesssion", destination: ".vnc/xsession" + # 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