Add support for Alibaba Cloud Linux
authorWeisson <hanxiaobupt@bupt.edu.cn>
Thu, 27 May 2021 09:53:08 +0000 (10:53 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 27 May 2021 09:53:08 +0000 (10:53 +0100)
virt-what.in
virt-what.pod

index 8021290..3dac91a 100644 (file)
@@ -113,6 +113,11 @@ dmi=$(LANG=C dmidecode 2>&1)
 
 arch=$(uname -m | sed -e 's/i.86/i386/' | sed -e 's/arm.*/arm/')
 
+# Check for Alibaba Cloud
+if echo "$dmi" | grep -q 'Manufacturer: Alibaba Cloud'; then
+    echo "alibaba_cloud"
+fi
+
 # Check for VMware.
 # cpuid check added by Chetan Loke.
 
index 405537b..9f8bea2 100644 (file)
@@ -25,6 +25,12 @@ don't know about or cannot detect.
 
 =over 4
 
+=item B<alibaba_cloud>
+
+This is a cloud computing service based on Alibaba Cloud.
+
+Status: contributed by Weisson.
+
 =item B<aws>
 
 Amazon Web Services.