novajoin/scripts
Michele Baldessari e8b18c4bd4 Fix python3 errors in novajoin-ipa-setup
With python3 we are getting the following error:
Traceback (most recent call last):
  File "/usr/bin/novajoin-ipa-setup", line 103, in <module>
    args['tls_ca_cert'] = cafile.decode('UTF-8')
  AttributeError: 'str' object has no attribute 'decode'

Let's just use the normal assignment in case the .decode() call
fails.

Also apply the same fixes to files/cloud-config-novajoin.json

Tested and we correctly get past this error.

Change-Id: Ia77ebde46ff885c9f929d834f981acb97f26a4ec
Co-Authored-By: Luca Miccini <lmiccini@redhat.com>
Closes-Bug: #1820961
2019-03-21 08:58:42 +01:00
..
compat Install novajoin-ipa-setup script in /usr/libexec 2018-12-19 21:05:51 +00:00
novajoin-install Fix errors preventing novajoin to start on Python 3 2018-11-26 17:55:15 +01:00
novajoin-ipa-setup Fix python3 errors in novajoin-ipa-setup 2019-03-21 08:58:42 +01:00