Katello / katello-client-bootstrap

Bootstrap Script for migrating systems to Foreman & Katello
GNU General Public License v2.0
52 stars 63 forks source link

UnboundLocalError: local variable 'userpw' referenced before assignment #297

Closed evgeni closed 5 years ago

evgeni commented 5 years ago
Traceback (most recent call last):
  File "./bootstrap.py", line 1506, in <module>
    install_foreman_ssh_key(remote_exec_url)
  File "./bootstrap.py", line 683, in install_foreman_ssh_key
    os.chown(options.remote_exec_authpath, userpw.pw_uid, userpw.pw_gid)
UnboundLocalError: local variable 'userpw' referenced before assignment