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 jYTJjLTlmNGEtNGU1Ni1iZTc5LTkzZjYwMDZmMTk2YiIsImlzcyI6Imh0dHBzOi8vc3NvLn
+ JlZGhhdC5jb20vYXV0aC9yZWFsbXMvcmVkaGF0LWV4dGVybmFsIiwiYXVkIjoiaHR0cHM6L
+ y9zc28ucmVkaGF0LmNvbS9hdXRoL3JlYWxtcy9yZWRoYXQtZXh0ZXJuYWwiLCJzdWIiOiJm
+ OjUyOGQ3NmZmLWY3MDgtNDNlZC04Y2Q1LWZlMTZmNGZlMGNlNjpkcHgtZG93bmxvYWRlciI
+ sInR5cCI6Ik9mZmxpbmUiLCJhenAiOiJyaHNtLWFwaSIsInNlc3Npb25fc3RhdGUiOiIxYj
+ kyZDE3MC0wZWE2LTQ0MmEtYjdhNS02ZWQ4YTY2YTIzY2IiLCJzY29wZSI6InJvbGVzIHdlY
+ i1vcmlnaW5zIG9mZmxpbmVfYWNjZXNzIiwic2lkIjoiMWI5MmQxNzAtMGVhNi00NDJhLWI3
+ YTUtNmVkOGE2NmEyM2NiIn0.AnN1lt3zjHBmQXrVNZKPWK3Moo90ZOzFL457bOX4znoQWsH
+ zjeE4k4xT-Y9J-k3ufji7tyZ7qqyoiZe2XVyXYA
+ EOF
+)
+
+OFFLINE_TOKEN=$( echo "${OFFLINE_TOKEN}" | tr -d '[:space:]' )
declare -A IMAGE_CHECKSUMS=()
IMAGE_CHECKSUMS['rhel-8.8-dvd']='517abcc67ee3b7212f57e180f5d30be3e8269e7a99e127a3399b7935c7e00a09'
IMAGE_CHECKSUMS['rhel-9.2-dvd']='a18bf014e2cb5b6b9cee3ea09ccfd7bc2a84e68e09487bb119a98aa0e3563ac2'
IMAGE_CHECKSUMS['rhel-9.3-dvd']='5c802147aa58429b21e223ee60e347e850d6b0d8680930c4ffb27340ffb687a8'
+IMAGE_CHECKSUMS['rhel-9.4-dvd']='398561d7b66f1a4bf23664f4aa8f2cfbb3641aa2f01a320068e86bd1fc0e9076'
IMAGE_CHECKSUM=
'rhel-8.8-dvd'
'rhel-9.2-dvd'
'rhel-9.3-dvd'
+ 'rhel-9.4-dvd'
)
SSO_REDHAT_URL='https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token'