Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-14263

Add NMState Package to Assisted-Image-Service Downstream Images

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • ACM 2.12.0
    • None
    • None
    • False
    • None
    • False
    • None

      Description of the problem:

      Assisted-image-service recently had a change that requires NMState in its downstream dockerfile like this

      Request is to add lines like this

       

      RUN INSTALL_PKGS="nmstate nmstate-devel nmstate-libs" && \
          microdnf install -y $INSTALL_PKGS --nobest && \
          microdnf clean all && \
          rm -rf /var/cache/{yum,dnf,microdnf}/* && \
          mkdir -p ${HOME} && \
          chown ${USER_UID}:0 ${HOME} && \
          chmod ug+rwx ${HOME} && \
          # runtime user will need to be able to self-insert in /etc/passwd
          chmod g+rw /etc/passwd
       

      Into the assisted-image-service dockerfile here https://gitlab.cee.redhat.com/mce-cpaas-midstream/assisted-installer-projects/-/blob/multicluster-engine-2.7-rhel-9/distgit/containers/assisted-image-service/Dockerfile.in?ref_type=heads#L47 

       

              acmbriansmi Brian Smith
              rhn-support-liangli Liangquan Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: