Commit 9e73c86b authored by Leigh Stoller's avatar Leigh Stoller

Send my keys across when creating the sliver.

parent 32e7be39
......@@ -126,6 +126,18 @@ mycredential = response["value"]
print "Got my SA credential"
#print str(mycredential);
#
# Lookup my ssh keys.
#
params = {}
params["credential"] = mycredential
rval,response = do_method("sa", "GetKeys", params)
if rval:
Fatal("Could not get my keys")
pass
mykeys = response["value"]
#print str(mykeys);
#
# Lookup slice.
#
......@@ -197,6 +209,7 @@ print "Got a ticket from the CM. Redeeming the ticket ..."
#
params = {}
params["ticket"] = ticket
params["keys"] = mykeys
params["impotent"] = impotent
rval,response = do_method("cm", "RedeemTicket", params)
if rval:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment