Removed dead code and added some default settings.
Fixed mac/ip address detection to allow ssh into the vm.