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