Skip to content

Commit

Permalink
Add rhel8 to supported OSs for ARM (it was already in supported OSs f…
Browse files Browse the repository at this point in the history
…or x86_64)
  • Loading branch information
ermanno committed Apr 19, 2023
1 parent 0d1fae8 commit e49c40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/pcluster/cli/commands/dcv_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ def get_supported_dcv_os(architecture):
"""Return a list of all the operating system supported by DCV."""
architectures_dict = {
"x86_64": SUPPORTED_OSES,
"arm64": ["ubuntu1804", "alinux2", "centos7"],
"arm64": ["ubuntu1804", "alinux2", "centos7", "rhel8"],
}
return architectures_dict.get(architecture, [])
2 changes: 1 addition & 1 deletion cli/tests/pcluster/validators/test_cluster_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ def test_shared_storage_mount_dir_validator(mount_dir, expected_message):
(False, "alinux2", "t2.micro", None, None, None), # doesn't fail because DCV is disabled
(True, "ubuntu1804", "m6g.xlarge", None, None, None),
(True, "alinux2", "m6g.xlarge", None, None, None),
(True, "rhel8", "m6g.xlarge", None, None, "Please double check the os configuration"),
(True, "rhel8", "m6g.xlarge", None, None, None),
(True, "ubuntu2004", "m6g.xlarge", None, None, "Please double check the os configuration"),
],
)
Expand Down

0 comments on commit e49c40e

Please sign in to comment.