diff --git a/cloudformation/jambonz-mini.yaml b/cloudformation/jambonz-mini.yaml index 1d5e8a2..782bba8 100644 --- a/cloudformation/jambonz-mini.yaml +++ b/cloudformation/jambonz-mini.yaml @@ -72,9 +72,7 @@ Conditions: Mappings: AWSRegion2AMI: us-east-1: - Ami: ami-0ab8dfae453e55876 - us-east-2: - Ami: ami-04fe3dcd8105a51fc + Ami: ami-068005bb44faf5a05 Resources: VPC: Type: 'AWS::EC2::VPC' diff --git a/packer/jambonz-mini/files/ecosystem.config.js b/packer/jambonz-mini/files/ecosystem.config.js index a592447..f78e3b0 100644 --- a/packer/jambonz-mini/files/ecosystem.config.js +++ b/packer/jambonz-mini/files/ecosystem.config.js @@ -270,6 +270,7 @@ module.exports = { OTEL_EXPORTER_JAEGER_AGENT_HOST: '127.0.0.1', OTEL_TRACES_SAMPLER: 'parentbased_traceidratio', OTEL_TRACES_SAMPLER_ARG: 1.0, + VMD_HINTS_FILE: '/home/admin/apps/jambonz-feature-server/data/example-voicemail-greetings.json', ENABLE_METRICS: 1, STATS_HOST: '127.0.0.1', STATS_PORT: 8125, diff --git a/packer/jambonz-mini/template.json b/packer/jambonz-mini/template.json index 9464af7..ef551e1 100644 --- a/packer/jambonz-mini/template.json +++ b/packer/jambonz-mini/template.json @@ -161,13 +161,13 @@ }, { "type": "shell", - "execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `jambonz_version`}} {{user `jambonz_user`}} {{user `jambonz_password`}}", - "script": "scripts/install_app.sh" + "execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `install_nodered`}}", + "script": "scripts/install_node_red.sh" }, { "type": "shell", - "execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `install_nodered`}}", - "script": "scripts/install_node_red.sh" + "execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `jambonz_version`}} {{user `jambonz_user`}} {{user `jambonz_password`}}", + "script": "scripts/install_app.sh" }, { "type": "shell",