Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-2715

Documentation - missing sudo on the example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • RHELAI 1.3 GA
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Reading the documentation in the following link: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_ai/1.3/html-single/updating/index#updating_the_system

      Procedure
      Log into your Red Hat registry account with the podman command:podman login registry.redhat.io --username <user-name> --password <user-password> --authfile /etc/ostree/auth.json
      Or you can log in with the skopeo command:
      skopeo login registry.redhat.io --username <user-name> --password <user-password> --authfile /etc/ostree/auth.json
      

       

      Running the above command without sudo will result in the following error:

      Error: 1 error occurred:
              * writing to file "/etc/ostree/auth.json": open /etc/ostree/.tmp-auth.json2767161041: permission denied

       

       

      The next example in the doc does include sudo (see the below example), so adding sudo to the above will make the doc look more aligned.

      Upgrading to a minor version of Red Hat Enterprise Linux AI
      
      You can upgrade your instance to use the latest version of Red Hat Enterprise Linux AI by running the following command:
      
      $ sudo bootc switch <latest-rhelai-image> 

      Note that the first part doesn't have sudo and it's confusing.

      The first 

       

              kelbrown@redhat.com Kelly Brown
              achuzhoy@redhat.com Alexander Chuzhoy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: