1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 08:15:18 +00:00

Install 'attr' for authority and disable interactive dialogs for apt

This commit is contained in:
Lauri Võsandi 2018-04-13 12:42:54 +00:00
parent 501493ff12
commit d7df17dc2c

View File

@ -972,10 +972,11 @@ def certidude_setup_authority(username, kerberos_keytab, nginx_config, country,
click.echo("Not attempting to install packages from APT as requested...") click.echo("Not attempting to install packages from APT as requested...")
else: else:
click.echo("Installing packages...") click.echo("Installing packages...")
os.system("apt-get install -qq -y cython3 python3-dev python3-mimeparse \ os.system("DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
cython3 python3-dev python3-mimeparse \
python3-markdown python3-pyxattr python3-jinja2 python3-cffi \ python3-markdown python3-pyxattr python3-jinja2 python3-cffi \
software-properties-common libsasl2-modules-gssapi-mit npm nodejs \ software-properties-common libsasl2-modules-gssapi-mit npm nodejs \
libkrb5-dev libldap2-dev libsasl2-dev gawk libncurses5-dev rsync") libkrb5-dev libldap2-dev libsasl2-dev gawk libncurses5-dev rsync attr")
os.system("pip3 install -q --upgrade gssapi falcon humanize ipaddress simplepam") os.system("pip3 install -q --upgrade gssapi falcon humanize ipaddress simplepam")
os.system("pip3 install -q --pre --upgrade python-ldap") os.system("pip3 install -q --pre --upgrade python-ldap")