Skip to content

Commit

Permalink
Fix #499 (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril authored and domenkozar committed Mar 27, 2017
1 parent c4532cb commit 47e0c8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixops/backends/libvirtd.py
Expand Up @@ -63,6 +63,9 @@ def get_ssh_flags(self, *args, **kwargs):
return super_flags + ["-o", "StrictHostKeyChecking=no",
"-i", self.get_ssh_private_key_file()]

def get_physical_spec(self):
return {('users', 'extraUsers', 'root', 'openssh', 'authorizedKeys', 'keys'): [self.client_public_key]}

def _vm_id(self):
return "nixops-{0}-{1}".format(self.depl.uuid, self.name)

Expand Down

0 comments on commit 47e0c8e

Please sign in to comment.