X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=6a78f93574c65e75e5ab6601d52bc039daa14d06;hp=0e962c5844dae3260ff81730bc3eac5d7cf2851f;hb=f81609470952ba8a32ffe2f1d1eb95918b6475bb;hpb=ad36d36db7fd095f60da16867200b805733ca2dd diff --git a/autoconfig.functions b/autoconfig.functions index 0e962c5..6a78f93 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -500,10 +500,10 @@ config_time(){ # {{{ print kernel info config_kernel(){ - if $VIRTUAL ; then - einfo "Running Linux Kernel $KERNEL $VMWARE" ; eend 0 - else + if $VIRTUAL && [ -n "$VIRTUAL_ENV" ] ; then einfo "Running Linux Kernel $KERNEL inside $VIRTUAL_ENV" ; eend 0 + else + einfo "Running Linux Kernel $KERNEL" ; eend 0 fi if [ -r /proc/cpuinfo ] ; then