diff --git a/doc/image.md b/doc/image.md index 7ee677bcbb0cc1544ba4b094959a336ab7337659..54bc98311c36549852d49fa83b198c6feb8f2e26 100644 --- a/doc/image.md +++ b/doc/image.md @@ -74,3 +74,17 @@ Build the OVA: ```sh make image build=packer/mymediaserver.json ``` + +## Troubleshoot + +### Hypervisor version incompatibility + +If the produced OVA is not compatible with the hypervisor, try to change the "VM compatibility mode" by changing the value of `version` option. + +More infromation: + +- <https://packer.io/docs/builders/vmware-iso.html#version> + +### Build failed + +If a build fail at one of the Ansible steps, you can set to `true` the `keep_registred` and `skip_export` options, then connect to the VM on the hypervisor and do some diagnostics. diff --git a/packer/example.json b/packer/example.json index fd1539a1a2f056c92c9d22472cad52f9a40f2347..16af3774d4b8ac857c31de51674a7696e4281843 100644 --- a/packer/example.json +++ b/packer/example.json @@ -15,6 +15,7 @@ "builders": [ { "type": "vmware-iso", + "version": 11, "vm_name": "ubicast-{{ user `name` }}", "display_name": "ubicast-{{ user `name` }}", "output_directory": "output", @@ -54,7 +55,9 @@ "ssh_password": "ubicast", "ssh_timeout": "15m", "headless": false, - "shutdown_command": "shutdown -P now" + "shutdown_command": "shutdown -P now", + "keep_registered": false, + "skip_export": false } ], "provisioners": [ diff --git a/roles/rocketchat/defaults/main.yml b/roles/rocketchat/defaults/main.yml index 23410fc120f016d40ae59b212d211f2695d56cad..a98a54aae41cd43528fbf2c4fc3b82be87d1d393 100644 --- a/roles/rocketchat/defaults/main.yml +++ b/roles/rocketchat/defaults/main.yml @@ -34,7 +34,7 @@ rc_npm_packages: rc_node_version: 12.14.0 # version & archive url -rc_version: 3.0.12 +rc_version: 3.1.0 rc_url: https://releases.rocket.chat/{{ rc_version }}/download # where to install