针对ubuntu虚拟机:
virt-sysprep -d 21admin --firstboot-command ‘dpkg-reconfigure openssh-server’ --password ubuntu:password:123456 --root-password password:123456
官方链接
官方链接详细说明
针对ubuntu虚拟机:
virt-sysprep -d 21admin --firstboot-command ‘dpkg-reconfigure openssh-server’ --password ubuntu:password:123456 --root-password password:123456
官方链接
官方链接详细说明