mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
fish: Allow -d UUID (specify libvirt domains by UUID).
This applies in all the commands which use the common C option parsing code, ie: * guestfish * guestmount * virt-cat * virt-df * virt-filesystems * virt-inspector * virt-ls * virt-rescue
This commit is contained in:
5
TODO
5
TODO
@@ -432,11 +432,6 @@ guestfish drive letters
|
||||
There should be an option to mount all Windows drives as separate
|
||||
paths, like C: => /c/, D: => /d/ etc.
|
||||
|
||||
Select machines by UUID
|
||||
-----------------------
|
||||
|
||||
guestfish -u UUID <or> guestfish -d UUID
|
||||
|
||||
More inspection features
|
||||
------------------------
|
||||
|
||||
|
||||
@@ -92,7 +92,8 @@ not used at all.
|
||||
|
||||
=item B<--domain> guest
|
||||
|
||||
Add all the disks from the named libvirt guest.
|
||||
Add all the disks from the named libvirt guest. Domain UUIDs can be
|
||||
used instead of names.
|
||||
|
||||
=item B<--echo-keys>
|
||||
|
||||
|
||||
@@ -142,7 +142,8 @@ read L</NOTE ABOUT CSV FORMAT> below.
|
||||
|
||||
=item B<--domain> guest
|
||||
|
||||
Add all the disks from the named libvirt guest.
|
||||
Add all the disks from the named libvirt guest. Domain UUIDs can be
|
||||
used instead of names.
|
||||
|
||||
=item B<--echo-keys>
|
||||
|
||||
|
||||
@@ -92,7 +92,8 @@ not used at all.
|
||||
|
||||
=item B<--domain> guest
|
||||
|
||||
Add all the disks from the named libvirt guest.
|
||||
Add all the disks from the named libvirt guest. Domain UUIDs can be
|
||||
used instead of names.
|
||||
|
||||
=item B<--echo-keys>
|
||||
|
||||
|
||||
@@ -89,7 +89,8 @@ not used at all.
|
||||
|
||||
=item B<--domain> guest
|
||||
|
||||
Add all the disks from the named libvirt guest.
|
||||
Add all the disks from the named libvirt guest. Domain UUIDs can be
|
||||
used instead of names.
|
||||
|
||||
=item B<--format=raw|qcow2|..>
|
||||
|
||||
|
||||
@@ -199,6 +199,8 @@ Add disks from the named libvirt domain. If the I<--ro> option is
|
||||
also used, then any libvirt domain can be used. However in write
|
||||
mode, only libvirt domains which are shut down can be named here.
|
||||
|
||||
Domain UUIDs can be used instead of names.
|
||||
|
||||
Using this flag is mostly equivalent to using the C<add-domain> command,
|
||||
with C<readonly:true> if the I<--ro> flag was given, and
|
||||
with C<format:...> if the I<--format:...> flag was given.
|
||||
|
||||
@@ -48,5 +48,8 @@ add_libvirt_drives (const char *guest)
|
||||
optargs.live = 1;
|
||||
}
|
||||
|
||||
optargs.bitmask |= GUESTFS_ADD_DOMAIN_ALLOWUUID_BITMASK;
|
||||
optargs.allowuuid = 1;
|
||||
|
||||
return guestfs_add_domain_argv (g, guest, &optargs);
|
||||
}
|
||||
|
||||
@@ -93,6 +93,8 @@ Add disks from the named libvirt domain. If the I<--ro> option is
|
||||
also used, then any libvirt domain can be used. However in write
|
||||
mode, only libvirt domains which are shut down can be named here.
|
||||
|
||||
Domain UUIDs can be used instead of names.
|
||||
|
||||
=item B<--dir-cache-timeout N>
|
||||
|
||||
Set the readdir cache timeout to I<N> seconds, the default being 60
|
||||
|
||||
@@ -86,7 +86,8 @@ then libvirt is not used at all.
|
||||
|
||||
=item B<--domain> guest
|
||||
|
||||
Add all the disks from the named libvirt guest.
|
||||
Add all the disks from the named libvirt guest. Domain UUIDs can be
|
||||
used instead of names.
|
||||
|
||||
=item B<--echo-keys>
|
||||
|
||||
|
||||
@@ -118,7 +118,8 @@ not used at all.
|
||||
|
||||
=item B<--domain> guest
|
||||
|
||||
Add all the disks from the named libvirt guest.
|
||||
Add all the disks from the named libvirt guest. Domain UUIDs can be
|
||||
used instead of names.
|
||||
|
||||
=item B<--format=raw|qcow2|..>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user