How to disable the swap permanently?

I want to deploy the k8s cluster on Edge-V. But how to disable the swap permanently. Instead of “sudo swapoff --all”. Thank you.

1 Like

Thanks, but the OS of Edge-V is ubuntu-server-20.04, and I can’t find the fstab file. Should I modify the /boot/env.txt?

@numbqq @Frank Please help。。。。。。。

1 Like