On 3/14/23 06:04, Sharon Dsouza (Nokia) wrote:
1. What are you trying to do?
I’m trying to mount qcow2 using guestfish –remote, modify the qcow2 and
reuse the modified qcow2.
2. What exact command(s) did you run?
I have attached code.txt
3. What was the precise error or output of these commands?
While remounting the qcow2 I’m not able to see the modifications I have
made to the qcow2 during initial mounting. May I know why.
4. Enable debugging, run the commands again, and capture
the *complete* output. *Do not edit the output.*
export LIBGUESTFS_DEBUG=1
export LIBGUESTFS_TRACE=1
I have attached the debuglog.txt
Please let me know if you need more information…
Awaiting for a response.
Your script uses the "add-ro" command.
https://libguestfs.org/guestfish.1.html#add-ro
https://libguestfs.org/guestfish.1.html#add-drive-opts
readonly
If true then the image is treated as read-only. Writes are still allowed,
but they are stored in a temporary snapshot overlay which is discarded at
the end. The disk that you add is not modified.
Laszlo