def get_systemd_os_info(filepath='/etc/os-release'):
 os_name = _get_systemd_os_release_var('ID', filepath=filepath)
 os_version = _get_systemd_os_release_var('VERSION_ID', filepath=filepath)
 return (os_name, os_version)

def get_systemd_os_info ( filepath = '/etc/os-release' ) : os_name = _get_systemd_os_release_var ( 'ID' , filepath = filepath ) os_version = _get_systemd_os_release_var ( 'VERSION_ID' , filepath = filepath ) return ( os_name , os_version )
parse systemd /etc/os-release for distribution information .