Commit 4481493e by Őry, Máté

one: use shell schema for ssh in URI

parent 0feef371
...@@ -268,6 +268,8 @@ class Instance(models.Model): ...@@ -268,6 +268,8 @@ class Instance(models.Model):
def get_connect_uri(self): def get_connect_uri(self):
try: try:
proto = self.template.access_type proto = self.template.access_type
if proto == 'ssh':
proto = 'shell'
port = self.get_port() port = self.get_port()
host = self.get_connect_host() host = self.get_connect_host()
pw = self.pw pw = self.pw
......
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 sign in to comment