def get_vg_name_base(host_name, os_name):
    """Return a base name for a volume group based on the host and os names"""
    if host_name != None and len(host_name) != 0:
        vg_default = os_name + '_' + host_name
    else:
        vg_default = os_name

    return vg_default