1. Get the VNC address
Nova Get-vnc-console 8cf12579-85ee-41f4-ab9f-55a608c5640b Novnc
+-------+-------------------------------------------------------------------------------------+
| Type | URL |
+-------+-------------------------------------------------------------------------------------+
| Novnc | http://10.197.128.253:6080/vnc_auto.html?token=619fde8a-71d7-4c70-8d7d-3452d8cf0918 |
+-------+-------------------------------------------------------------------------------------+
2. Login VNC Interface
3, restart the cloud host, press E to enter the edit boot
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/75/59/wKioL1Y3PmjBufDyAAEM6WHQZp0900.jpg "title=" 1.jpg " alt= "Wkiol1y3pmjbufdyaaem6whqzp0900.jpg"/>
4, find the RO position, replace it with RW init=/sysroot/bin/sh, and remove the circle in the picture
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/75/5B/wKiom1Y3PnWjisoSAAKNstrKmfk236.jpg "title=" 2.jpg " alt= "Wkiom1y3pnwjisosaaknstrkmfk236.jpg"/>5, press CTRL + X to launch into single user mode
6. Change Password after entering
chroot/sysroot/
passwd Root
Touch/.autorelabel
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/59/wKioL1Y3PxfzDPCeAAKPp5vlfQI414.jpg "title=" 5.jpg " alt= "Wkiol1y3pxfzdpceaakpp5vlfqi414.jpg"/>
7. Restart the cloud host to log in again
OpenStack I version single user mode (RHEL7)