Commit 3f86ff11 by Bach Dániel

dashboard: fix samba hostname

parent 17205b94
...@@ -962,7 +962,7 @@ class MountStoreOperation(EnsureAgentMixin, InstanceOperation): ...@@ -962,7 +962,7 @@ class MountStoreOperation(EnsureAgentMixin, InstanceOperation):
def _operation(self): def _operation(self):
inst = self.instance inst = self.instance
queue = self.instance.get_remote_queue_name("agent") queue = self.instance.get_remote_queue_name("agent")
host = urlsplit(settings.STORE_URL).netloc host = urlsplit(settings.STORE_URL).hostname
username = Store(inst.owner).username username = Store(inst.owner).username
password = inst.owner.profile.smb_password password = inst.owner.profile.smb_password
agent_tasks.mount_store.apply_async( agent_tasks.mount_store.apply_async(
......
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