2 The command lists the RPMs installed inside a Fedora / RHEL / CentOS
3 or other RPM-based virtual machine. It does this by running the
4 <code>rpm -qa</code> command directly inside the machine.
8 To use it you need to know the partition or LV <i>inside</i> the
9 VM that contains the root filesystem, so for example:
13 rpmqa.sh guest.img /dev/VolGroup00/LogVol00 | less
17 You can write a similar command for Debian-based virtual machines