Skip to content

Commit

Permalink
Add "fake-value" word when overriding kernel release
Browse files Browse the repository at this point in the history
We're overriding the kernel_release variable on docker because
it does not have the same format of EC2.

Adding the "fake-value" word in the kernel version simplifies debugging on docker.

Signed-off-by: Enrico Usai <[email protected]>
  • Loading branch information
enrico-usai committed Aug 31, 2023
1 parent b1d32b8 commit 811b580
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kitchen.docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ platforms:
attributes:
cluster:
base_os: alinux2
kernel_release: '5.10.157-139.675.amzn2.x86_64'
kernel_release: '5.10.157-139.675.amzn2.fake-value'
- name: centos7
driver:
image: <% if ENV['KITCHEN_CENTOS7_IMAGE'] %> <%= ENV['KITCHEN_CENTOS7_IMAGE'] %> <% else %> dokken/centos-7 <% end %>
attributes:
cluster:
base_os: centos7
kernel_release: '3.10.0-1160.76.1.el7.x86_64'
kernel_release: '3.10.0-1160.76.1.el7.fake-value'
- name: ubuntu2004
driver:
image: <% if ENV['KITCHEN_UBUNTU2004_IMAGE'] %> <%= ENV['KITCHEN_UBUNTU2004_IMAGE'] %> <% else %> dokken/ubuntu-20.04 <% end %>
Expand All @@ -68,4 +68,4 @@ platforms:
attributes:
cluster:
base_os: rhel8
kernel_release: '4.18.0-477.13.1.el8_7.x86_64' # Use 477 version to match 8.8 kernel version available on docker
kernel_release: '4.18.0-477.13.1.el8_7.fake-value' # Use 477 version to match 8.8 kernel version available on docker

0 comments on commit 811b580

Please sign in to comment.