On Mon, Jul 15, 2013 at 10:33:13PM +0530, Ramkumar Ramachandra wrote:
> In a User-Mode Linux session:
> 
>   $ systemd-detect-virt
>   none
> 
> Although it is possible to reliably detect virtualization:
> 
>   $ cat /proc/cpuinfo
>   processor       : 0
>   vendor_id       : User Mode Linux
>   model name      : UML
>   mode            : skas
>   host            : Linux kytes 3.11.0-rc1-00009-ge5fd680 (...)
>   bogomips        : 7007.43
> 
> So, grep for the string "User Mode Linux" in /proc/cpuinfo, and say
> "uml" when asked.

  Could you extend ConditionVirtualization= with ”uml”, also?

-- 
Tomasz Torcz                 Morality must always be based on practicality.
xmpp: [email protected]                -- Baron Vladimir Harkonnen

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to