From 1e0d87c1478c8335a0cf173c7f436697ece0f42d Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Fri, 15 Feb 2013 11:22:14 +0100 Subject: [PATCH] Fix log path for Sunstone in system wide installation --- src/sunstone/models/SunstoneServer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/models/SunstoneServer.rb b/src/sunstone/models/SunstoneServer.rb index 54e42f838e..8fa4016c74 100644 --- a/src/sunstone/models/SunstoneServer.rb +++ b/src/sunstone/models/SunstoneServer.rb @@ -209,7 +209,7 @@ class SunstoneServer < CloudServer return [404, nil] else if !ONE_LOCATION - vm_log_file = LOG_LOCATION + "/vms/#{id}.log" + vm_log_file = LOG_LOCATION + "/#{id}.log" else vm_log_file = LOG_LOCATION + "/vms/#{id}/vm.log" end