3.5. QCOW:设置 root 密码
设置 root 密码,以通过控制台为您的节点提供管理员级别的访问。
流程
在镜像中设置 root 用户的密码:
virt-customize --selinux-relabel -a overcloud-full.qcow2 --root-password password:test
$ virt-customize --selinux-relabel -a overcloud-full.qcow2 --root-password password:test [ 0.0] Examining the guest ... [ 18.0] Setting a random seed [ 18.0] Setting passwords [ 19.0] Finishing offCopy to Clipboard Copied! Toggle word wrap Toggle overflow