deploy_nixos: don't hard code ipv4

This commit is contained in:
Jörg Thalheim 2021-10-27 10:03:50 +02:00
parent 34c20d4932
commit dabcdd9c53

View file

@ -134,7 +134,7 @@ class DeployHost:
print(f"[{self.command_prefix}] {cmd}")
ssh_opts = ["-A"] if self.forward_agent else []
cmd = (
["ssh", "-4", f"{self.user}@{self.host}", "-p", str(self.port)]
["ssh", f"{self.user}@{self.host}", "-p", str(self.port)]
+ ssh_opts
+ ["--", cmd]
)