Skip to content

Commit

Permalink
Update to current bento box.
Browse files Browse the repository at this point in the history
  • Loading branch information
karlud committed May 9, 2017
1 parent dcc9a3a commit 15acd68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.provision :shell, path: "pg_config.sh"
config.vm.box = "ubuntu/trusty32"
config.vm.box = "bento/ubuntu-16.04-i386"
config.vm.network "forwarded_port", guest: 5000, host: 5000

# Work around disconnected virtual network cable.
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--cableconnected1", "on"]
end
end
2 changes: 2 additions & 0 deletions pg_config.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
apt-get -qqy update
apt-get -qqy upgrade
apt-get -qqy install postgresql python-psycopg2
apt-get -qqy install python-sqlalchemy
apt-get -qqy install python-pip
pip install --upgrade pip
pip install werkzeug==0.8.3
pip install flask==0.9
pip install Flask-Login==0.1.3
Expand Down

0 comments on commit 15acd68

Please sign in to comment.