LAVA: Use bash as first step to spawn a bash shell
[lttng-ci.git] / scripts / system-tests / template_lava_job.jinja2
index 3acf35468b93279584ee1e971e72418ba3e97858..599e58a0de3b8de9dd41838d7bda43f881b349a1 100644 (file)
@@ -8,7 +8,7 @@ visibility: public
 {% if device_type == DeviceType.kvm %}
 context:
   extra_kernel_args: cpuidle.off=1
-  extra_nfsroot_args: ",nfsver=3 nfsrootdebug"
+  extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
 
 tags:
   - qemu
@@ -68,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.022876 seconds and 4 git commands to generate.