:come_on_boy1::come_on_boy2:
:come_on_boy3::come_on_boy4:
guestfish -r -a /var/lib/libvirt/images/instances/255388-2149028/1.2023-01-13-030025 run : list-filesystems
/dev/vglocal20190412/root00: ext4
/dev/vglocal20190412/swap00: swap
/dev/vglocal20190412/tmp00: ext4
new_uuid=$(uuidgen)
guestfish --rw -a /var/lib/libvirt/images/instances/255388-2149028/1.2023-01-13-030025 run : set-uuid /dev/vglocal20190412/root00 ${new_uuid}
libguestfs: error: set_uuid:
guestfish --rw -a /var/lib/libvirt/images/instances/255388-2149028/1.2023-01-13-030025 run : e2fsck-f /dev/vglocal20190412/root00 correct\:true : set-uuid /dev/vglocal20190412/root00 ${new_uuid}
error: incorrect number of arguments
usage: e2fsck-f device
type 'help e2fsck-f' for more help on e2fsck-f
guestfish --rw -a /var/lib/libvirt/images/instances/255388-2149028/1.2023-01-13-030025 run : help e2fsck-f
NAME
e2fsck-f - check an ext2/ext3 filesystem
SYNOPSIS
e2fsck-f device
DESCRIPTION
This runs "e2fsck -p -f device", ie. runs the ext2/ext3 filesystem
checker on "device", noninteractively (*-p*), even if the filesystem
appears to be clean (*-f*).
*This function is deprecated.* In new code, use the "e2fsck" call
instead.
Deprecated functions will not be removed from the API, but the fact that
they are deprecated indicates that there are problems with correct use
of these functions.
guestfish --rw -a /var/lib/libvirt/images/instances/255388-2149028/1.2023-01-13-030025 run : e2fsck /dev/vglocal20190412/root00 correct\:true : set-uuid /dev/vglocal20190412/root00 ${new_uuid}
*The command now works*