mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 02:06:56 -06:00
ARM templates. Callhome is different if ARM template is installed in gov region
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
|
rm /tmp/temp.key
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF >/var/opt/jfrog/artifactory/etc/info/installer-info.json
|
|
||||||
|
if [[ "${LOCATION}" =~ $regex_location_gov ]] || [[ "${LOCATION}" =~ $regex_location_dod ]]; then
|
||||||
|
CALLHOME_SUFFIX=gov
|
||||||
|
else
|
||||||
|
CALLHOME_SUFFIX=template
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat <<EOF >installer-info.json
|
||||||
{
|
{
|
||||||
"productId": "ARM_artifactory-pro-template/1.0.0",
|
"productId": "ARM_artifactory-pro-${CALLHOME_SUFFIX}/1.0.0",
|
||||||
"features": [
|
"features": [
|
||||||
{
|
{
|
||||||
"featureId": "Partner/ACC-007221"
|
"featureId": "Partner/ACC-007221"
|
||||||
|
|||||||
Reference in New Issue
Block a user