The VAMI is unable to detect the ISO file after it has been attached via the CD/DVD option on the vCenter VM.
The ISO is not detected via the CLI.
It is also not visible in the VAMI under:
Updates → Available Updates → Check Updates → Check CD-ROM.
vSphere 7.0
vSphere 8.0
mount /dev/cdrom /mnt/cdrom/
Example output:
mount: /mnt/cdrom: WARNING: device write-protected, mounted read-only
4. To list the mounted ISO, you may run the command:
ls /mnt/cdrom/
5. To verify that you see the ISO mounted on the vCenter, please run the command:
df -h
Example output:
/dev/sr0 6.3G 6.3G 0 100% /mnt/cdrom
If it’s closing the session, run this command to change from using the BASH Shell to the Appliance Shell:
chsh -s /bin/appliancesh root
Log out and log in again for the changes to take effect.
7. Stage the packages located in the .ISO file mounted to the vCenter Server VM: software-packages stage --iso --acceptEulas
8. After the staging completes, list or install the staged packages:
software-packages list --stagedsoftware-packages install --staged9. Once completed, an output will state: "Packages upgraded successfully, Reboot is required to complete the installation”.
10. If the patch installation requires a reboot of the appliance, run the following command to restart the appliance: shutdown now -r "patch reboot"