Skip to content

Commit 937f4b2

Browse files
Add ubuntu 22.04 to dcv connect script and mysql client install check (#2407)
1 parent 37f0c8c commit 937f4b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbooks/aws-parallelcluster-platform/files/dcv/pcluster_dcv_connect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ main() {
112112
os=$(< /etc/chef/dna.json jq -r .cluster.base_os)
113113
_log "Input parameters: user: ${user}, OS: ${os}, shared_folder_path: ${shared_folder_path}."
114114

115-
if ! [[ "${os}" =~ ^(alinux2|ubuntu2004|centos[7-8]|rhel8)$ ]]; then
115+
if ! [[ "${os}" =~ ^(alinux2|ubuntu2004|ubuntu2204|centos[7-8]|rhel8)$ ]]; then
116116
_fail "OS not supported."
117117
fi
118118

cookbooks/aws-parallelcluster-slurm/test/controls/mysql_client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if os.redhat?
1717
mysql_packages.concat %w(mysql-community-client-plugins mysql-community-common
1818
mysql-community-devel mysql-community-libs mysql-community-libs-compat)
19-
elsif os_properties.ubuntu2004?
19+
elsif os_properties.ubuntu2004? || os_properties.ubuntu2204?
2020
mysql_packages.concat %w(libmysqlclient-dev libmysqlclient21)
2121
else
2222
describe "unsupported OS" do

0 commit comments

Comments
 (0)