Openstack
cloud image root password 설정
1. CentOS7 qcow2 다운로드 # wget https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-2009.qcow2 2. libguestfs-tools 패키지 설치 # yum install libguestfs-tools -y 3. root 패스워드 변경 # virt-customize -a CentOS-7-x86_64-GenericCloud-2009.qcow2 --root-password password:1234 [ 0.0] Examining the guest ... [ 28.4] Setting a random seed [ 28.5] Setting passwords [ 30.0] Finishing off
2021. 7. 16. 10:32