From 22a2389c125197eea37479a776a6978114e79ef6 Mon Sep 17 00:00:00 2001 From: bee0005 Date: Sat, 20 Aug 2016 10:33:02 +0000 Subject: [PATCH] update --- app/controllers/volumn_controller.rb | 2 +- app/views/volumn/info.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/volumn_controller.rb b/app/controllers/volumn_controller.rb index 2564e3e..2217e05 100644 --- a/app/controllers/volumn_controller.rb +++ b/app/controllers/volumn_controller.rb @@ -4,7 +4,7 @@ class VolumnController < ApplicationController end def get_info - return `sshpass -pakfm77 ssh root@gluster-1 gluster volume info` + return `sshpass -pakfm77 ssh -p 2222 root@gluster-1 gluster volume info` end end diff --git a/app/views/volumn/info.html.erb b/app/views/volumn/info.html.erb index e4f09fc..d78bb49 100644 --- a/app/views/volumn/info.html.erb +++ b/app/views/volumn/info.html.erb @@ -23,7 +23,7 @@
-
+

Infomation volumn