[Pkg-mozext-commits] [itsalltext] 03/10: Updated vagrantfile

David Prévot taffit at moszumanska.debian.org
Wed Aug 2 19:08:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit bcc5cd78404fe1ad3acb0048c3f9bc72923df96f
Author: Christian Höltje <docwhat at gerf.org>
Date:   Tue Oct 4 00:33:35 2016 -0400

    Updated vagrantfile
---
 Vagrantfile | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/Vagrantfile b/Vagrantfile
index 2fec8e4..89af5b0 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,18 +1,21 @@
 # -*- mode: ruby -*-
 # vi: set ft=ruby :
 
+linux_provision_sh = <<SHELL
+set -x
+sudo -u vagrant -H gsettings set org.gnome.desktop.lockdown    disable-lock-screen    true
+sudo -u vagrant -H gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false
+echo '/vagrant/src' > /usr/lib/firefox-addons/extensions/'itsalltext at docwhat.gerf.org'
+SHELL
+
 Vagrant.configure('2') do |config|
   config.vm.define 'linux', autostart: false do |linux|
-    linux.vm.box = 'precise32'
-    linux.vm.box_url = 'http://files.vagrantup.com/precise32.box'
+    linux.vm.box = 'boxcutter/ubuntu1604-desktop'
 
     linux.ssh.forward_agent = true
     linux.ssh.forward_x11 = true
 
-    config.vm.provision 'shell', inline: <<-SHELL
-      sudo apt-get update
-      sudo apt-get install -y vim-athena firefox
-    SHELL
+    linux.vm.provision 'shell', inline: linux_provision_sh
 
     linux.vm.provider :virtualbox do |vb|
       vb.gui = true
@@ -22,8 +25,7 @@ Vagrant.configure('2') do |config|
   end
 
   config.vm.define 'windows', autostart: false do |windows|
-    windows.vm.box = 'win7-ie11'
-    windows.vm.box_url = 'http://aka.ms/vagrant-win7-ie11'
+    windows.vm.box = 'mwrock/Windows2012R2'
     windows.vm.guest = :windows
     windows.vm.communicator = 'winrm'
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list