diff --git a/vms/vm-under-test/scripts/first-boot b/vms/vm-under-test/scripts/first-boot index a7b55380..a3c89c90 100755 --- a/vms/vm-under-test/scripts/first-boot +++ b/vms/vm-under-test/scripts/first-boot @@ -26,4 +26,8 @@ echo isolated_cores=1-2 >> /etc/tuned/realtime-virtual-guest-variables.conf echo isolate_managed_irq=Y >> /etc/tuned/realtime-virtual-guest-variables.conf tuned-adm profile realtime-virtual-guest +swapoff -a +sed -i '/swap/s/^/#/' /etc/fstab +systemctl mask "$(systemctl --type swap | grep '.swap' | awk '{print $1}')" + reboot \ No newline at end of file