def get_username_for_os(os):
    """Return username for a given os."""
    usernames = {"alinux2": "ec2-user", "centos7": "centos", "ubuntu1804": "ubuntu", "ubuntu2004": "ubuntu"}
    return usernames.get(os)