Base Ubuntu 14.04 VM Build Log - GiorgioRegni/AnsibleScratch GitHub Wiki

ISO Image

ubuntu-14.04.2-server-amd64.iso

Configure Passwordless sudo

$ sudo visudo
# Add the following to the sudoers file:
# ubuntu ALL=(ALL) NOPASSWD: ALL

Install OpenSSH Server

$ sudo apt-get install open-ssh server

Add Authorized SSH Keys

$ mkdir ~/.ssh
$ touch ~/.ssh authorized_keys
# SCP public key to host.
$ cat your_key.pub >> ~/.ssh/authorized_keys

Snapshot VM