mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Change id to hostname
This commit is contained in:
parent
544f394c9e
commit
d33d0d091e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class Auth(object):
|
|||
key = self.get_priv_key()
|
||||
tmp_pub = tempfile.mktemp()
|
||||
key.save_pub_key(tmp_pub)
|
||||
payload['id'] = self.opts['id']
|
||||
payload['hostname'] = self.opts['hostname']
|
||||
payload['pub'] = open(tmp_pub, 'r').read()
|
||||
return payload
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue