mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-23 22:55:23 +00:00
fix hostname for user instance list
This commit is contained in:
parent
4d40de1b55
commit
d5156303ee
1 changed files with 2 additions and 2 deletions
|
@ -1193,7 +1193,7 @@ def get_user_instances(request):
|
|||
for usr_inst in user_instances:
|
||||
if connection_manager.host_is_up(usr_inst.instance.compute.type,
|
||||
usr_inst.instance.compute.hostname):
|
||||
conn = wvmHostDetails(usr_inst.instance.compute,
|
||||
conn = wvmHostDetails(usr_inst.instance.compute.hostname,
|
||||
usr_inst.instance.compute.login,
|
||||
usr_inst.instance.compute.password,
|
||||
usr_inst.instance.compute.type)
|
||||
|
@ -1429,7 +1429,7 @@ def sshkeys(request, vname):
|
|||
|
||||
instance_keys = []
|
||||
userinstances = UserInstance.objects.filter(instance__name=vname)
|
||||
|
||||
|
||||
for ui in userinstances:
|
||||
keys = UserSSHKey.objects.filter(user=ui.user)
|
||||
for k in keys:
|
||||
|
|
Loading…
Reference in a new issue