letsencrypt: Force text mode

This avoids letsencrypt trying to launch a dialog interface in case of
certain errors.
This commit is contained in:
Saúl Ibarra Corretgé 2016-02-19 11:02:40 +01:00 committed by Sunil Mohan Adapa
parent 16de3e1dff
commit b0b67db35e
No known key found for this signature in database
GPG Key ID: 36C361440C9BC971

View File

@ -143,7 +143,7 @@ def subcommand_obtain(arguments):
domain = arguments.domain
command = [
'letsencrypt', 'certonly', '--agree-tos',
'letsencrypt', 'certonly', '--text', '--agree-tos',
'--register-unsafely-without-email', '--domain', arguments.domain,
'--authenticator', 'webroot', '--webroot-path', '/var/www/html/',
'--renew-by-default']