# nova start TESTVM
# virsh list
$ virsh list Id Name State ---------------------------------------------------- 1 instance-00000001 running |
# virsh console instance-00000001
Connected to domain instance-00000001 Escape character is ^] [root@TESTVM# |
IN VM Instance |
# touch /etc/cloud/cloud-init.disabled # systemctl disable cloud-config.service cloud-final.service cloud-init-local.service cloud-init.service # systemctl stop cloud-config.service cloud-final.service cloud-init-local.service cloud-init.service # vi /etc/ssh/sshd_config PermitRootLogin yes PasswordAuthentication yes # systemctl restart sshd |