From: Qi Guo [Flos] Date: Wed, 19 Jul 2017 15:39:29 +0000 (+0100) Subject: Update virt-what to detect AWS via dmidecode data. X-Git-Tag: v1.16~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=dc32228184622b28f412f527c0f353347db029b8;p=virt-what.git Update virt-what to detect AWS via dmidecode data. --- diff --git a/virt-what.in b/virt-what.in index 4c416fb..1d98eee 100644 --- a/virt-what.in +++ b/virt-what.in @@ -225,6 +225,10 @@ fi if [ "$cpuid" = "XenVMMXenVMM" ]; then echo xen; echo xen-hvm + # Check for AWS + if echo "$dmi" | grep -q 'Version: [0-9]\.[0-9]\.amazon'; then + echo aws + fi skip_qemu_kvm=true elif [ -d "${root}/proc/xen" ]; then echo xen