Unable to see the ISO mounted on the vCenter to patch the vCenter
search cancel

Unable to see the ISO mounted on the vCenter to patch the vCenter

book

Article ID: 405836

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 8.0

Issue/Introduction

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.

Environment

vSphere 7.0

vSphere 8.0

Resolution

  1. Attach the relevant ISO from the vCenter VM
  • Select: Datastore ISO file from VM edit settings
  • Tick the checkbox: Connect At Power On and save the settings
  1. Login to vCenter CLI

  2. Perform the following commands to mount the ISO

     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

  1. Exit from SHELL with the command, exit.

         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:

    1. To verify the version of the mounted ISO:

      software-packages list --staged

    2. To install the staged packages:

      software-packages install --staged

     9.  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"