Skip to content

Commit

Permalink
Merge pull request #342 from stackhpc/upstream/2024.1-2024-11-11
Browse files Browse the repository at this point in the history
Synchronise 2024.1 with upstream
  • Loading branch information
priteau authored Nov 12, 2024
2 parents 6b63a64 + 2c12fc6 commit fdc82bf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@


def _is_apt():
info = distro.linux_distribution()
return info[0].startswith('Ubuntu')
info = distro.id()
return info == 'ubuntu'


def _is_dnf():
Expand All @@ -29,7 +29,7 @@ def _is_dnf_mirror():
def _is_ubuntu_noble():
name = distro.name()
version = distro.version()
return name == 'Ubuntu' and version == 24.04
return name == 'Ubuntu' and version == '24.04'


def test_network_ethernet(host):
Expand Down

0 comments on commit fdc82bf

Please sign in to comment.