this also says none if you do bash -c '(systemd-detect-virt) and systemd-nspawn if you do dash -c 'exec systemd-detect-virt which decidedly hints that lennart's virtualisation detexion code only worked if the caller was PID 1, which is a normal and sensible requirement, natch.