Make -S flag works on debian/ubuntu
Set hostname and domain name if -S option used
Merge pull request #610 from sample/master

Added support for koan option -S on Debian/Ubuntu