Hi there, Here are a couple of doc fixes: https://github.com/makuk66/cloudstack-docs-admin/compare/mak-fix-hostname.sh <https://github.com/makuk66/cloudstack-docs-admin/compare/mak-fix-hostname.sh>
There is no /etc/init.d/hostname.sh in ubuntu 14.04.1. You could instead do 'service hostname start', or just do 'hostname -b -F /etc/hostname' which is what that upscript actually does. echo does not print backslash-newline as a newline. Use printf instead, and remove trailing spaces it's -> its — Martijn