I am trying to install jitsi-meet on a vm via automated script .
However, the deb package prompts for a hostname. How can I set this
value from a script? I have tried using debconf-set-selections, but I
have been unable to set the value to anything but localhost. Here is
what I am doing currently:
echo 'deb http://download.jitsi.org/nightly/deb unstable/' >>
wget -qO - https://download.jitsi.org/nightly/deb/unstable/archive.key |
apt-key add -
debconf-set-selections <<< 'jitsi-meet-prosody jitsi-meet/jvb-hostname
debconf-set-selections <<< 'jitsi-meet jitsi-meet/jvb-hostname string
debconf-set-selections <<< 'jitsi-meet-prosody
jitsi-meet-prosody/jvb-hostname string "my.ip.address"';
debconf-set-selections <<< 'jitsi-meet jitsi-meet-prosody/jvb-hostname
apt-get install -y jitsi-meet
This works in the sense that it doesn't prompt me, however, the hostname
is set incorrectly to localhost, not my.ip.address.
When I run debconf-show jitsi-meet before the script, the values seem to
be right, but after the apt-get call, they are set to localhost.
Any idea how I can automate the entry of this value?