From 35d82fb6c3c6d5e49a9582de952805a62c59cb4d Mon Sep 17 00:00:00 2001 From: maheshg Date: Mon, 11 Jul 2022 09:56:11 -0700 Subject: [PATCH] Adding installer.yaml for xray install setup --- .../Xray/vm_install/install_xray_to_vm.sh | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/AzureResourceManager/Xray/vm_install/install_xray_to_vm.sh b/AzureResourceManager/Xray/vm_install/install_xray_to_vm.sh index 4ab8c9d..9b4b853 100644 --- a/AzureResourceManager/Xray/vm_install/install_xray_to_vm.sh +++ b/AzureResourceManager/Xray/vm_install/install_xray_to_vm.sh @@ -31,6 +31,27 @@ xray@postgres_server_name password EOF +cat </opt/jfrog-xray-${XRAY_VERSION}-deb/bin/installer.yaml +installer: + ha: n + data_dir: /var/opt/jfrog/xray + node: + ip: 10.0.0.4 + install_postgresql: n +shared: + jfrogUrl: http://testrt.cloudapp.azure.com + security: + joinKey: EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE + database: + type: postgresql + driver: org.postgresql.Driver + url: postgres://{postgres_server_name}.postgres.database.azure.com:5432/xray?sslmode=disable + username: xray@postgres_server_name + password: password + rabbitMq: + password: JFXR_RABBITMQ_COOKIE +EOF + # Run interactive installation script with default parameters cat "/opt/jfrog-xray-${XRAY_VERSION}-deb/input.txt" | ./install.sh >> /var/log/install-xray.log 2>&1