LAVA: Use bash as first step to spawn a bash shell
[lttng-ci.git] / scripts / system-tests / template_lava_job.jinja2
index 58d0b1718efd2711ea25b7779bb9ec0c05469b32..599e58a0de3b8de9dd41838d7bda43f881b349a1 100644 (file)
@@ -7,10 +7,9 @@ priority: medium
 visibility: public
 {% if device_type == DeviceType.kvm %}
 context:
-  # tell the qemu template which architecture is being tested
-  # the template uses that to ensure that qemu-system-x86_64 is executed.
-  {# Used amd64 as a default #}
-  arch: amd64
+  extra_kernel_args: cpuidle.off=1
+  extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
+
 tags:
   - qemu
 {% endif %}
@@ -69,8 +68,10 @@ actions:
                     - groupadd tracing
                   {% if device_type == DeviceType.x86 %}
                     - mount /dev/sda1 /tmp
-                    - rm -rf /tmp/*
+                  {% elif device_type == DeviceType.kvm %}
+                    - mount /dev/sda /tmp
                   {% endif %}
+                    - rm -rf /tmp/*
                     - depmod -a
                     - locale-gen en_US.UTF-8
                     - apt-get update
This page took 0.022723 seconds and 4 git commands to generate.