thinlinc_server: Fixes for thinlinc 4.18 release

This commit is contained in:
Timo Makinen 2024-12-21 18:57:44 +00:00
parent 2dd0fb75c9
commit cfcdb4e935
2 changed files with 15 additions and 20 deletions

View file

@ -3,22 +3,24 @@
set -eu
cat <<EOF > /root/tl-setup.answer
install-pygtk=yes
email-address=adm@foo.sh
setup-selinux=yes
setup-nearest=no
server-type=master
setup-firewall=no
install-python-ldap=no
setup-apparmor=no
missing-answer=ask
install-nfs=no
setup-thinlocal=no
install-sshd=no
tlwebadm-password=$(dd if=/dev/urandom count=1 2> /dev/null | base64 | tail -n 1 | cut -c 1-20)
accept-eula=yes
server-type=master
migrate-conf=old
install-required-libs=yes
install-nfs=no
install-sshd=no
install-gtk=yes
install-python-ldap=no
agent-hostname-choice=manual
manual-agent-hostname=$(hostname -f)
email-address=adm@foo.sh
tlwebadm-password=$(dd if=/dev/urandom count=1 2> /dev/null | base64 | tail -n 1 | cut -c 1-20)
setup-thinlocal=no
setup-nearest=no
setup-firewall=no
setup-selinux=yes
setup-apparmor=no
missing-answer=abort
EOF
/opt/thinlinc/sbin/tl-setup -a /root/tl-setup.answer

View file

@ -48,13 +48,6 @@
regexp: "^show_intro=.*"
line: show_intro=false
- name: Configure vsmagent hostname
ansible.builtin.lineinfile:
path: /opt/thinlinc/etc/conf.d/vsmagent.hconf
regexp: "^agent_hostname=.*"
line: "agent_hostname={{ inventory_hostname }}"
notify: Restart vsmagent
- name: Copy private key
ansible.builtin.copy:
dest: /opt/thinlinc/etc/tlwebaccess/server.key