use ipv4
authorPeter Palfrader <peter@palfrader.org>
Fri, 28 Dec 2012 17:30:30 +0000 (18:30 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 28 Dec 2012 17:30:30 +0000 (18:30 +0100)
modules/roles/templates/static-mirroring/static-update-component.erb

index acb0294..7dbad82 100755 (executable)
@@ -68,7 +68,7 @@ lines.join("\n")
 %>
 
   for master_idx in ${!masters[*]}; do
-    ssh -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "${masters[$master_idx]}" static-master-update-component "$component"
+    ssh -o AddressFamily=inet -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "${masters[$master_idx]}" static-master-update-component "$component"
   done
 fi