def get_hostname():
    try:
        with open(RCCONF_FILE) as hostname_fyl:
            for line in hostname_fyl.readlines():
                hn = re.search('hostname=(.*)', line)
                if hn:
                    return hn.group(1)
        return None

    except Exception, e:
        logging.info("Current FreeBSD hostname enquiry failed: %s" % str(e))
        return None
save mapping of seq to specified (nlmsaID,ns,offset)
dataset/ETHPy150Open rackerlabs/openstack-guest-agents-unix/commands/freebsd/network.py/get_hostname--crossover with--dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py/NLMSASeqDict.saveSeq