Skip to content

Commit 963105f

Browse files
authored
DLPX-95001 use HWE kernel for ESX (#365)
PR URL: https://www.github.com/delphix/linux-pkg/pull/365
1 parent 98e143d commit 963105f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/common.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,10 +1163,10 @@ function get_kernel_version_for_platform_from_apt() {
11631163
# Note that while the default kernel is usually also the latest
11641164
# available, it is not always the case.
11651165
#
1166-
if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == focal ]]; then
1167-
package="linux-image-${platform}"
1168-
else
1166+
if [[ "$platform" == generic ]]; then
11691167
package="linux-image-${platform}-hwe-24.04"
1168+
else
1169+
package="linux-image-${platform}"
11701170
fi
11711171

11721172
if [[ "$(apt-cache show --no-all-versions "$package" \

0 commit comments

Comments
 (0)