Add support for Alibaba Cloud Linux
Weisson authored 2 years ago
Richard W.M. Jones committed 2 years ago
112 | 112 |
|
113 | 113 |
arch=$(uname -m | sed -e 's/i.86/i386/' | sed -e 's/arm.*/arm/')
|
114 | 114 |
|
|
115 |
# Check for Alibaba Cloud
|
|
116 |
if echo "$dmi" | grep -q 'Manufacturer: Alibaba Cloud'; then
|
|
117 |
echo "alibaba_cloud"
|
|
118 |
fi
|
|
119 |
|
115 | 120 |
# Check for VMware.
|
116 | 121 |
# cpuid check added by Chetan Loke.
|
117 | 122 |
|
23 | 23 |
=head1 FACTS
|
24 | 24 |
|
25 | 25 |
=over 4
|
|
26 |
|
|
27 |
=item B<alibaba_cloud>
|
|
28 |
|
|
29 |
This is a cloud computing service based on Alibaba Cloud.
|
|
30 |
|
|
31 |
Status: contributed by Weisson.
|
26 | 32 |
|
27 | 33 |
=item B<aws>
|
28 | 34 |
|