Skip to content

Commit

Permalink
gcp auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Oct 4, 2023
1 parent 9a57cb2 commit ed3572b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/auth/vm_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def start_runner(creds, key, ssh_username, id = "gpu-insatnce", zone='us-central
request.execute()
time.sleep(60)

# Get the SSH username (assuming it's stored in the credentials)
response = compute.instances().get(project=id, zone=zone, instance=instance).execute()
external_ip = response['networkInterfaces'][0]['accessConfigs'][0]['natIP']
ssh = paramiko.SSHClient()
Expand Down

0 comments on commit ed3572b

Please sign in to comment.