git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lib: Document the $ro parameter for mount_operating_system properly.
[libguestfs.git]
/
recipes
/
rpmqa.sh
diff --git
a/recipes/rpmqa.sh
b/recipes/rpmqa.sh
index
ed75953
..
8d93f6d
100755
(executable)
--- a/
recipes/rpmqa.sh
+++ b/
recipes/rpmqa.sh
@@
-1,8
+1,3
@@
#!/bin/sh -
-guestfish <<EOF
-add "$1"
-run
-mount-ro "$2" /
-command "rpm -qa"
-EOF
+guestfish -a "$1" --ro -m "$2" command "rpm -qa"