thinlinc_server: Fixes for thinlinc 4.18 release
This commit is contained in:
parent
2dd0fb75c9
commit
cfcdb4e935
2 changed files with 15 additions and 20 deletions
|
@ -3,22 +3,24 @@
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
cat <<EOF > /root/tl-setup.answer
|
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
|
accept-eula=yes
|
||||||
|
server-type=master
|
||||||
migrate-conf=old
|
migrate-conf=old
|
||||||
install-required-libs=yes
|
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
|
EOF
|
||||||
|
|
||||||
/opt/thinlinc/sbin/tl-setup -a /root/tl-setup.answer
|
/opt/thinlinc/sbin/tl-setup -a /root/tl-setup.answer
|
||||||
|
|
|
@ -48,13 +48,6 @@
|
||||||
regexp: "^show_intro=.*"
|
regexp: "^show_intro=.*"
|
||||||
line: show_intro=false
|
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
|
- name: Copy private key
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /opt/thinlinc/etc/tlwebaccess/server.key
|
dest: /opt/thinlinc/etc/tlwebaccess/server.key
|
||||||
|
|
Loading…
Add table
Reference in a new issue