Added support for writing the containers ip address and host information in /etc/hosts and fixed a chown error when copying over an ssh key.