summaryrefslogtreecommitdiff
path: root/setup-alpine.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-alpine.in')
-rw-r--r--setup-alpine.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 80e10ff..392290b 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -17,7 +17,8 @@ get_fqdn() {
}
is_qemu() {
- grep -q "QEMU" /proc/cpuinfo
+ grep -q "QEMU" /proc/cpuinfo \
+ || strings /sys/firmware/dmi/tables/DMI 2>/dev/null | grep -q QEMU
}
usage() {