Monday, December 11, 2017

Setting root password on qcow2 image




In case of necessity to inject root password in qcow2 image file to OpenStack or KVM virtualization environtment this is easy/simple way to do:



# yum install libguestfs-tools-c
# virt-customize -a <image.qcow2> --root-password password:<password>




* Obs.: OS RHEL 'like'.




No comments:

Post a Comment