Skip to content

Commit

Permalink
Merge pull request #240 from sideangleside/fix-timeout-regression
Browse files Browse the repository at this point in the history
fix regression in REX with options.timeout
  • Loading branch information
sideangleside authored Jan 23, 2018
2 parents fdbe5fc + 8b73e6d commit ec6c2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def install_foreman_ssh_key():
os.mkdir(foreman_ssh_dir, 0700)
os.chown(foreman_ssh_dir, userpw.pw_uid, userpw.pw_gid)
try:
foreman_ssh_key = urllib2.urlopen(("https://%s:9090/ssh/pubkey" % options.foreman_fqdn).read(), timeout=options.timeout)
foreman_ssh_key = urllib2.urlopen(("https://%s:9090/ssh/pubkey" % options.foreman_fqdn), timeout=options.timeout).read()
except urllib2.HTTPError, e:
print_generic("The server was unable to fulfill the request. Error: %s - %s" % (e.code, e.reason))
print_generic("Please ensure the Remote Execution feature is configured properly")
Expand Down

0 comments on commit ec6c2ce

Please sign in to comment.