Skip to content

Commit 811b580

Browse files
committed
Add "fake-value" word when overriding kernel release
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]>
1 parent b1d32b8 commit 811b580

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kitchen.docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ platforms:
3838
attributes:
3939
cluster:
4040
base_os: alinux2
41-
kernel_release: '5.10.157-139.675.amzn2.x86_64'
41+
kernel_release: '5.10.157-139.675.amzn2.fake-value'
4242
- name: centos7
4343
driver:
4444
image: <% if ENV['KITCHEN_CENTOS7_IMAGE'] %> <%= ENV['KITCHEN_CENTOS7_IMAGE'] %> <% else %> dokken/centos-7 <% end %>
4545
attributes:
4646
cluster:
4747
base_os: centos7
48-
kernel_release: '3.10.0-1160.76.1.el7.x86_64'
48+
kernel_release: '3.10.0-1160.76.1.el7.fake-value'
4949
- name: ubuntu2004
5050
driver:
5151
image: <% if ENV['KITCHEN_UBUNTU2004_IMAGE'] %> <%= ENV['KITCHEN_UBUNTU2004_IMAGE'] %> <% else %> dokken/ubuntu-20.04 <% end %>
@@ -68,4 +68,4 @@ platforms:
6868
attributes:
6969
cluster:
7070
base_os: rhel8
71-
kernel_release: '4.18.0-477.13.1.el8_7.x86_64' # Use 477 version to match 8.8 kernel version available on docker
71+
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 commit comments

Comments
 (0)