Openstack image initializes root login password

when creating a virtual machine

as follows:

#!/bin/sh

passwd root<<EOF

engine

engine

EOF 

Replace huangyi with your password

Note that the following configuration driver must be checked, otherwise the virtual machine will fail to initialize the root password.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325162952&siteId=291194637