My app is proprietary full-stack server app that will be distributed as closed source. I want to package my app into an VM. The VM have Ubuntu installed which contains Linux (GPL v2 licensed). And there is also my app installed. So, my client can setup my app by just have a copy of the VM and run it easily. And it might be also comes with VirtualBox (GPL v2 licensed).
TL; DR: My app will be closed source and distributed with copyleft OS.
Is this case counts as mere aggregation or derivative work? Does this violates the GPLv2 license? And also, what is the criteria that a case counts as mere aggregation or not?