git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
recipes: Refresh guestfish recipes.
[libguestfs.git]
/
recipes
/
list-apps.sh
diff --git a/recipes/list-apps.sh
b/recipes/list-apps.sh
new file mode 100755
(executable)
index 0000000..
f781a7d
--- /dev/null
+++ b/
recipes/list-apps.sh
@@ -0,0
+1,6
@@
+#!/bin/sh -
+
+eval "$(guestfish --ro -a "$1" --i --listen)"
+root="$(guestfish --remote inspect-get-roots)"
+guestfish --remote inspect-list-applications "$root"
+guestfish --remote exit