diff options
author | Richard Jones <[email protected]> | 2009-06-02 14:24:16 +0100 |
---|---|---|
committer | Richard Jones <[email protected]> | 2009-06-02 14:24:16 +0100 |
commit | bfdc03be234d6d95f18450846433bce4f97e184c (patch) | |
tree | 09e9395c190fd74ddda85dcc2affd7ac49252bb2 /inspector | |
parent | 5abae435f0cb239b70878968e040d61a6730b897 (diff) | |
download | libguestfs-bfdc03be234d6d95f18450846433bce4f97e184c.tar.gz libguestfs-bfdc03be234d6d95f18450846433bce4f97e184c.tar.xz libguestfs-bfdc03be234d6d95f18450846433bce4f97e184c.zip |
Add 'add_drive_ro' call. Fix up documentation. Plus a couple of minor code improvements in the tests.
Diffstat (limited to 'inspector')
-rwxr-xr-x | inspector/virt-inspector.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector/virt-inspector.pl b/inspector/virt-inspector.pl index 4ee0e08a..6d3c472f 100755 --- a/inspector/virt-inspector.pl +++ b/inspector/virt-inspector.pl @@ -213,7 +213,7 @@ if (-e $ARGV[0]) { # We've now got the list of @images, so feed them to libguestfs. my $g = Sys::Guestfs->new (); -$g->add_drive ($_) foreach @images; +$g->add_drive_ro ($_) foreach @images; $g->launch (); $g->wait_ready (); |