Skip to content

Commit

Permalink
add vagrant files for ubuntu 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Oct 25, 2017
1 parent 187e669 commit 1f6aedc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,4 @@ ENV/
tests/eduvpn.ovpn
eduvpn.ovpn
tmp
.vagrant/
12 changes: 12 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.provision :shell, :path => "vagrant_provision.sh"
config.ssh.forward_x11 = true
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
end
10 changes: 10 additions & 0 deletions vagrant_provision.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash -ve

export DEBIAN_FRONTEND=noninteractive

apt-get update
apt-get upgrade -y

apt-get install -y python-pip python-setuptools network-manager-openvpn-gnome python-dbus python-nacl python-requests-oauthlib python-gi python-sphinx-rtd-theme python-sphinx python-mock python-pytest python-repoze.lru python-gi python-dbus gir1.2-gtk-3.0 gir1.2-notify-0.7 network-manager-openvpn network-manager-openvpn-gnome

pip install -e /vagrant

0 comments on commit 1f6aedc

Please sign in to comment.