mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 00:06:55 -06:00
Merge pull request #81 from jfrog/azure-gov-callhome
ARM templates. Callhome is different if ARM template is installed in …
This commit is contained in:
@@ -264,9 +264,16 @@ cat /tmp/temp.key | sed 's/KEY----- /&\n/' | sed 's/ -----END/\n-----END/' | awk
|
||||
rm /tmp/temp.key
|
||||
fi
|
||||
|
||||
|
||||
if [[ "${LOCATION}" =~ $regex_location_gov ]] || [[ "${LOCATION}" =~ $regex_location_dod ]]; then
|
||||
CALLHOME_SUFFIX=gov
|
||||
else
|
||||
CALLHOME_SUFFIX=template
|
||||
fi
|
||||
|
||||
cat <<EOF >/var/opt/jfrog/artifactory/etc/info/installer-info.json
|
||||
{
|
||||
"productId": "ARM_artifactory-pro-template/1.0.0",
|
||||
"productId": "ARM_artifactory-pro-${CALLHOME_SUFFIX}/1.0.0",
|
||||
"features": [
|
||||
{
|
||||
"featureId": "Partner/ACC-007221"
|
||||
|
||||
Reference in New Issue
Block a user