Here I'll find some of the steps I did when setting up VMware fusion for development. They've been collected using an Ubuntu 14.04; hopefully they'll be useful for other versions as well.
Set up ssh on the target image
sudo apt-get install openssh-server
scp [email protected]:/Users/zaccaria/.ssh/id_rsa.pub /home/zaccaria/.ssh/authorized_keys
sudo restart ssh
test it with:
VMWare tools suck. To set up folder sharing, I've used sshfs in this way:
On the Mac:
mkdir /Volumes/Ubuntu
sshfs [email protected]:/home/zaccaria /Volumes/Ubuntu
To setup the env, we'll use ansible with the playbook in the ansible
directory:
cd ansible
ansible-playbook deploy.yml -i host-list.ini -K
where:
-K
asks for the sudo password.-i
specifies the target host(s)deploy.yml
is the top level deployment file
scp ~/.gitconfig [email protected]:/home/zaccaria
scp ~/.gitignore_global [email protected]:/home/zaccaria