Mount qcow2 file on CentOS 7

Jbn1233
Dec 1, 2020

--

Need to edit Cloud qcow2 image and this is how :

yum install libguestfs-tools libguestfs
chown 107:107 CentOS-7-x86_64-GenericCloud.qcow2
guestmount -a CentOS-7-x86_64-GenericCloud.qcow2 -i --rw /mnt

Make some changes and unmount /mnt

done.

--

--

Jbn1233
Jbn1233

Written by Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment | jbn1233@gmail.com | Bangkok, Thailand |

No responses yet