f781a7dfca7e837d69382a3209a51fd6d56e6fd9
[libguestfs.git] / recipes / list-apps.sh
1 #!/bin/sh -
2
3 eval "$(guestfish --ro -a "$1" --i --listen)"
4 root="$(guestfish --remote inspect-get-roots)"
5 guestfish --remote inspect-list-applications "$root"
6 guestfish --remote exit