summaryrefslogtreecommitdiff
path: root/detect_virt
diff options
context:
space:
mode:
Diffstat (limited to 'detect_virt')
-rw-r--r--detect_virt4
1 files changed, 4 insertions, 0 deletions
diff --git a/detect_virt b/detect_virt
new file mode 100644
index 0000000..a436b62
--- /dev/null
+++ b/detect_virt
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+VIRT_PLATFORM="$(/usr/bin/systemd-detect-virt)"
+echo "$VIRT_PLATFORM"