api version changed and openssl support 64 in xray

This commit is contained in:
Logeshwarsn
2022-06-14 13:17:46 +05:30
parent d8a72bb1c2
commit 8483d4d330
4 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
{ {
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0", "contentVersion": "1.0.0.0",
"parameters": { "parameters": {
"location": { "location": {

View File

@@ -227,11 +227,11 @@
"password": "Xray master Key", "password": "Xray master Key",
"confirmPassword": "Confirm master Key" "confirmPassword": "Confirm master Key"
}, },
"toolTip": "Master key for Xray instance. Generate master.key using command '$openssl rand -hex 16'", "toolTip": "Master key for Xray instance. Generate master.key using command '$openssl rand -hex 32'",
"constraints": { "constraints": {
"required": true, "required": true,
"regex": "^[a-z0-9A-Z]{12,32}$", "regex": "^[a-z0-9A-Z]{12,64}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-32 characters long." "validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-64 characters long."
}, },
"options": { "options": {
"hideConfirmation": true "hideConfirmation": true
@@ -247,8 +247,8 @@
"toolTip": "Join key from Artifactory cluster. You can copy Join key from the Artifactory UI, Security -> Settings -> Connection details", "toolTip": "Join key from Artifactory cluster. You can copy Join key from the Artifactory UI, Security -> Settings -> Connection details",
"constraints": { "constraints": {
"required": true, "required": true,
"regex": "^[a-z0-9A-Z]{12,32}$", "regex": "^[a-z0-9A-Z]{12,64}$",
"validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-32 characters long." "validationMessage": "Only alphanumeric characters are allowed, and the value must be 1-64 characters long."
}, },
"options": { "options": {
"hideConfirmation": true "hideConfirmation": true

View File

@@ -1,5 +1,5 @@
{ {
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "$schema": "http://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0", "contentVersion": "1.0.0.0",
"parameters": { "parameters": {
"location": { "location": {

View File

@@ -87,10 +87,10 @@
"value": "vmuser" "value": "vmuser"
}, },
"adminPassword": { "adminPassword": {
"value": "Password!123" "value": "OWERWRITE_THE_PASSWORD"
}, },
"xrayVersion": { "xrayVersion": {
"value": "3.45.1" "value": "OWERWRITE_LATEST_VERSION"
}, },
"scriptName": { "scriptName": {
"value": "install_xray_to_vm.sh" "value": "install_xray_to_vm.sh"