Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ main() {
os=$(< /etc/chef/dna.json jq -r .cluster.base_os)
_log "Input parameters: user: ${user}, OS: ${os}, shared_folder_path: ${shared_folder_path}."

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
if os.redhat?
mysql_packages.concat %w(mysql-community-client-plugins mysql-community-common
mysql-community-devel mysql-community-libs mysql-community-libs-compat)
elsif os_properties.ubuntu2004?
elsif os_properties.ubuntu2004? || os_properties.ubuntu2204?
mysql_packages.concat %w(libmysqlclient-dev libmysqlclient21)
else
describe "unsupported OS" do
Expand Down