Use HWE linux kernel for openstack HW nodes (cookied models)
New environment variable 'LINUX_KERNEL_HWE_PACKAGE_NAME'
to set required package name for hwe kernel.
Change-Id: Ibcf834bbaf34b6d2546b76b29ba24155674337d3
diff --git a/tcp_tests/templates/shared-salt.yaml b/tcp_tests/templates/shared-salt.yaml
index 2476555..33abf12 100644
--- a/tcp_tests/templates/shared-salt.yaml
+++ b/tcp_tests/templates/shared-salt.yaml
@@ -635,6 +635,15 @@
{%- macro MACRO_BOOTSTRAP_ALL_MINIONS() %}
{########################################}
# Bootstrap all nodes
+
+- description: Get linux kernel version from all minions
+ cmd: |
+ salt --hard-crash --state-output=mixed --state-verbose=False --out=txt '*' cmd.run 'uname -r' | sort
+ salt --hard-crash --state-output=mixed --state-verbose=False --out=txt '*' cmd.run 'dpkg -l|grep "linux-image-.*-generic"' | sort
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 5, delay: 10}
+ skip_fail: false
+
- description: Configure linux on other nodes
cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@linux:system' state.sls linux
node_name: {{ HOSTNAME_CFG01 }}