add_drive_ro
Description:
add a drive in snapshot mode (read-only)
This function is the equivalent of calling guestfs_session_add_drive_opts
with the optional parameter
GUESTFS_ADD_DRIVE_OPTS_READONLY
set to 1, so the disk is added read-only, with the format being detected automatically.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |