Initial setup of scmini build server

  • Xcode (+command lines tools), homebrew, new 'scg' user with admin rights

To make homebrew working, HOMEBREW_GITHUB_API_TOKEN from our github was added to .profile
.ssh/authorized_keys contains all developers keys

  • Install vagrant and virtualbox

brew cask install virtualbox
brew cask install vagrant
brew cask install vagrant-manager

  • Generated rsa public and private keys

cp ~/.ssh/id_rsa ~/.vagrant.d/insecure_private_key

  • Setting up nfs

It would be required if I would succeed with 'nfs' configuraion under OS X guest box

sudo touch /etc/exports
See "root priveleges requirements" at https://docs.vagrantup.com/v2/synced-folders/nfs.html
sudo visudo, add following lines at the end of the file
Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/tee -a /etc/exports
Cmnd_Alias VAGRANT_NFSD = /sbin/nfsd restart
Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /usr/bin/sed -E -e /*/ d -ibak /etc/exports
%admin ALL=(root) NOPASSWD: VAGRANT_EXPORTS_ADD, VAGRANT_NFSD, VAGRANT_EXPORTS_REMOVE

How to connect to scgmini

Your public key is already there and you have to be able to ssh

ssh scg@scgmini