Skip to content

Commit 5af531c

Browse files
alaindomissyvsoch
authored andcommitted
start from vagrant box bento/ubuntu-16.04 (#80)
* start from bento/ubuntu-16.04 Replacing the initial vagrant box from "ubuntu/trusty64" with "ubuntu/xenial64" was a great move : - xenial is the latest ubuntu long term support release, - also this avoids an issue which is specific to older versions of ubuntu : when running multiprocessing python inside the image the OS needs to create temporary files in /run/shm and /run/lock and this does not work unless the /etc/singularity/singularity.conf is modified with an additional line: "bind path = /run" ) However when testing more, I found that box the ubuntu/xenial64 does not have a system python2 installed, just a python3, Because of that , several steps fail unless python2 is installed: some python scripts have a she-bang line like this: #!/usr/bin/env python and in absence of python2 , the python command is not found. So this is another hassle which would need to be documented in the instructions The solution I found is to use an alternative ubuntu1604 box from the bento project : http://chef.github.io/bento/ Bento is an impressive project and their vagrant boxes are well made and well regarded. https://atlas.hashicorp.com/bento * Update install-mac.md
1 parent 9907187 commit 5af531c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/docs/install/install-mac.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ brew cask install vagrant
1717
brew cask install vagrant-manager
1818

1919
# Create a working directory for the Vagrant configuration and
20-
# generate a template Vagrantfile for "ubuntu/xenial64"
20+
# generate a template Vagrantfile for "bento/ubuntu-16.04"
2121
mkdir singularity-vm
2222
cd singularity-vm
23-
vagrant init ubuntu/xenial64
23+
vagrant init bento/ubuntu-16.04
2424

2525
# Build and start the Vagrant hosted VM
2626
vagrant up --provider virtualbox

0 commit comments

Comments
 (0)