Introduction
This article describes the procedure to reset the OPAdmin/root password in AMP VPC(Virtual Private Cloud). Please make sure you have the console access to the machine. This can be either through the UCS CIMC portal, or physical KVM console in case of AMPPC3000 (OR) the VM Remote Console in case of virtual appliances.
VPC 2.4
--1) During the reboot of Virtual Private Cloud, press F10 to interrupt the boot process of Virtual machine.
--2) You will get something similar to:
--3) Click 'e'
--4) Following screen will appear, please go to the kernel and click 'e' again:
--5) Add 'single' text as showed in the image, after never, as showed in the picture:
--6) Click enter and 'b' at the GRUB screen.
--7) Once you will get the root prompt, please proceed with the passwd command, and provide the new password:
--8) Reboot the VPC and try to login with the new password set.
VPC 3.0.x / AMPPC3000
Due to the CentOS version change, process for resseting root password is a bit different.
--1) During the reboot of Virtual Private Cloud, press F10 to interrupt the boot process of Virtual machine.
--2) You will get something similar to:
--3) Click 'e'
--4) Following screen will appear, please scroll output to get into the "fi" section, and change "ro" part:
to "rw init=/sysroot/bin/sh" as presented in the following screen:
--5) Click Ctrl-X
--6) Once shell will be presented, please execute "chroot /sysroot" command:
--7) Proceed with the passwd command, and provide the new password:
--8) Reload the VPC and login using the new password.