# Create content views # Server hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-server-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-server-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-server-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-server-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-7-server-x86_64-cv" --organization="${ORG}" # ppc64be hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-ppc64be-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-ppc64be-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-7-ppc64be-cv" --organization="${ORG}" # ppc64le hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-7-ppc64le-cv" --organization="${ORG}" # System Z hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-systemz-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-systemz-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-7-systemz-cv" --organization="${ORG}" # Desktop hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-desktop-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-desktop-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-desktop-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-desktop-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-7-desktop-x86_64-cv" --organization="${ORG}" # Workstation hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-workstation-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-5-workstation-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-workstation-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-workstation-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-7-workstation-x86_64-cv" --organization="${ORG}" # Scientific Computing hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-6-scientific-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view create --name="rhel-7-scientific-x86_64-cv" --organization="${ORG}" # ...and add repos to them and publish # Server hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-server-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 5 Server Kickstart i386 ${RHEL5}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-server-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 5 Server RPMs i386 5Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-server-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 Server RPMs i386" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-server-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 5 Server Kickstart x86_64 ${RHEL5}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 5 Server RPMs x86_64 5Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 Server RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-server-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-server-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 6 Server Kickstart i386 ${RHEL6}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-server-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 6 Server RPMs i386 6Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-server-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 Server RPMs i386" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-server-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 6 Server Kickstart x86_64 ${RHEL6}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 Server RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-server-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 7 Server Kickstart x86_64 ${RHEL7}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-server-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Server" --repository="Red Hat Satellite Tools 6.1 for RHEL 7 Server RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-7-server-x86_64-cv" --organization="${ORG}" # ppc64be hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-ppc64be-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power big endian" --repository="Red Hat Enterprise Linux 5 for IBM Power RPMs ppc 5Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-ppc64be-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power big endian" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 for IBM Power RPMs ppc" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-ppc64be-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-ppc64be-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power big endian" --repository="Red Hat Enterprise Linux 6 for IBM Power RPMs ppc64 6Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-ppc64be-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power big endian" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 for IBM Power RPMs ppc64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-ppc64be-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-ppc64be-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power big endian" --repository="Red Hat Enterprise Linux 7 for IBM Power RPMs ppc64 7Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-ppc64be-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power big endian" --repository="Red Hat Satellite Tools 6.1 for RHEL 7 for IBM Power RPMs ppc64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-7-ppc64be-cv" --organization="${ORG}" # ppc64le hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-ppc64le-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power little endian" --repository="Red Hat Enterprise Linux 7 for IBM Power LE RPMs ppc64le 7Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-ppc64le-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Power little endian" --repository="Red Hat Satellite Tools 6.1 (for RHEL 7 for IBM Power LE) (RPMs)" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-7-ppc64le-cv" --organization="${ORG}" # System Z hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-systemz-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for IBM z Systems" --repository="Red Hat Enterprise Linux 5 for System Z RPMs s390x 5Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-systemz-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for IBM z Systems" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 for System Z RPMs s390x" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-systemz-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-systemz-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for IBM z Systems" --repository="Red Hat Enterprise Linux 6 for System Z RPMs s390x 6Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-systemz-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for IBM z Systems" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 for System Z RPMs s390x" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-systemz-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-systemz-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for IBM z Systems" --repository="Red Hat Enterprise Linux 7 for System Z RPMs s390x 7Server" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-systemz-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for IBM z Systems" --repository="Red Hat Satellite Tools 6.1 for RHEL 7 for System Z RPMs s390x" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-7-systemz-cv" --organization="${ORG}" # Desktop hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-desktop-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 5 Desktop Kickstart i386 ${RHEL5}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-desktop-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 5 Desktop RPMs i386 5Client" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-desktop-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 Desktop RPMs i386" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-desktop-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 5 Desktop Kickstart x86_64 ${RHEL5}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 5 Desktop RPMs x86_64 5Client" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 Desktop RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-desktop-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-desktop-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 6 Desktop Kickstart i386 ${RHEL6}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-desktop-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 6 Desktop RPMs i386 6Client" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-desktop-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 Desktop RPMs i386" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-desktop-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 6 Desktop Kickstart x86_64 ${RHEL6}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 6 Desktop RPMs x86_64 6Client" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 Desktop RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-desktop-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 7 Desktop Kickstart x86_64 ${RHEL7}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Enterprise Linux 7 Desktop RPMs x86_64 7Client" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-desktop-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Desktop" --repository="Red Hat Satellite Tools 6.1 for RHEL 7 Desktop RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-7-desktop-x86_64-cv" --organization="${ORG}" # Workstation hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-workstation-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 5 Workstation Kickstart i386 ${RHEL5}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-workstation-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 5 Workstation RPMs i386 5Client" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-workstation-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 Workstation RPMs i386" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-workstation-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 5 Workstation Kickstart x86_64 ${RHEL5}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 5 Workstation RPMs x86_64 5Client" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-5-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Satellite Tools 6.1 for RHEL 5 Workstation RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-5-workstation-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-workstation-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 6 Workstation Kickstart i386 ${RHEL6}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-workstation-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 6 Workstation RPMs i386 6Workstation" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-workstation-i386-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 Workstation RPMs i386" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-workstation-i386-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 6 Workstation Kickstart x86_64 ${RHEL6}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 6 Workstation RPMs x86_64 6Workstation" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 Workstation RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-workstation-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 7 Workstation Kickstart x86_64 ${RHEL7}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Enterprise Linux 7 Workstation RPMs x86_64 7Workstation" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-workstation-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux Workstation" --repository="Red Hat Satellite Tools 6.1 for RHEL 7 Workstation RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-7-workstation-x86_64-cv" --organization="${ORG}" # Scientific Computing hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-scientific-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Scientific Computing" --repository="Red Hat Enterprise Linux 6 for Scientific Computing Kickstart x86_64 ${RHEL6}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-scientific-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Scientific Computing" --repository="Red Hat Enterprise Linux 6 for Scientific Computing RPMs x86_64 6ComputeNode" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-6-scientific-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Scientific Computing" --repository="Red Hat Satellite Tools 6.1 for RHEL 6 for Scientific Computing RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-6-scientific-x86_64-cv" --organization="${ORG}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-scientific-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Scientific Computing" --repository="Red Hat Enterprise Linux 7 for Scientific Computing Kickstart x86_64 ${RHEL7}" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-scientific-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Scientific Computing" --repository="Red Hat Enterprise Linux 7 for Scientific Computing RPMs x86_64 7ComputeNode" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view add-repository --name="rhel-7-scientific-x86_64-cv" --organization="${ORG}" --product="Red Hat Enterprise Linux for Scientific Computing" --repository="Red Hat Satellite Tools 6.1 for RHEL 7 for Scientific Computing RPMs x86_64" hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" content-view publish --name="rhel-7-scientific-x86_64-cv" --organization="${ORG}"