def set_sys_hostname(self, hostname):
        status = os.system('/bin/hostname %s' % (hostname,))
        if status is 0:
            os.remove('/etc/hostname')
            f = open('/etc/hostname', 'w')
            f.write(hostname)
            f.close()

            return True
        else:
            return False
:param name: name of the property
dataset/ETHPy150Open urbanairship/aerostat/aerostat/registrar.py/Registrar.set_sys_hostname--crossover with--dataset/ETHPy150Open dcos/dcos-cli/dcos/config.py/_generate_choice_msg