Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
if test_type in [TestType.baremetal_benchmarks, TestType.baremetal_tests]:
device_type = DeviceType.x86
- vlttng_path = '/tmp/virtenv'
-
else:
device_type = DeviceType.kvm
- vlttng_path = '/root/virtenv'
+
+ vlttng_path = '/tmp/virtenv'
vlttng_cmd = get_vlttng_cmd(device_type, args.tools_commit, args.ust_commit)
- 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