summaryrefslogtreecommitdiffstats
path: root/recipes/show-devices.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/show-devices.sh')
-rwxr-xr-xrecipes/show-devices.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/show-devices.sh b/recipes/show-devices.sh
new file mode 100755
index 00000000..6fd2b75b
--- /dev/null
+++ b/recipes/show-devices.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -
+
+guestfish -a "$1" <<EOF
+run
+list-devices
+list-partitions
+pvs
+vgs
+lvs
+EOF