From 71af077c330831409badadf89c69d967348902e4 Mon Sep 17 00:00:00 2001 From: Paul Sherwood Date: Wed, 12 Nov 2014 17:17:19 +0000 Subject: Sometimes localhost doesn't resolve, so force 127.0.0.1 Sometimes localhost does not resolve, which makes rsync to root@localhost fail during upgrades with: ERROR: ssh-rsync.check failed with code 1: ERROR: Unable to SSH to root@localhost: Command failed: ssh root@localhost -- true ssh: connect to host localhost port 22: Connection timed out So let's set the default to 127.0.0.1, which should always work. --- clusters/upgrade-devel.morph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clusters/upgrade-devel.morph') diff --git a/clusters/upgrade-devel.morph b/clusters/upgrade-devel.morph index 3937521e..b7ce9bc0 100644 --- a/clusters/upgrade-devel.morph +++ b/clusters/upgrade-devel.morph @@ -36,4 +36,4 @@ systems: deploy: self: type: ssh-rsync - location: root@localhost + location: root@127.0.0.1 -- cgit v1.2.1