Set run-opts and ensure that a hostname is present