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 <[email protected]> On Behalf Of Thiago > Macieira > Sent: March 27, 2019 2:05 PM > To: [email protected] > 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 [email protected] https://lists.qt-project.org/listinfo/interest
