systemd-detect-virt -v if you don't want to be told about being run inside containers.
Note that you can also use ConditionVirtualization in your systemd units if you need to start (or not start) a service. On Wednesday, 27 March 2019 11:37:42 PDT Jérôme Godbout wrote: > Nice, thanks Thiago! > > -----Original Message----- > From: Interest <interest-boun...@qt-project.org> On Behalf Of Thiago > Macieira > Sent: March 27, 2019 2:05 PM > To: interest@qt-project.org > Subject: Re: [Interest] Detemine Run into VM > > On Wednesday, 27 March 2019 09:11:11 PDT Jérôme Godbout wrote: > > > Is there a way to detect the application run inside a VM from Qt? > > > Run systemd-detect-virt. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest