This commit is contained in:
Youngkyun Kim
2016-09-01 07:39:44 -04:00
parent 101fd59a69
commit f424337c8f
3 changed files with 5 additions and 6 deletions

View File

@@ -94,6 +94,9 @@ class VolumeController < ApplicationController
mount_point = params[:mount_point]
volume_name = volume_name.delete(' ')
puts "mount -t glusterfs " + @config["host_ip"] + ":/" + volume_name + " " + mount_point
`mount -t glusterfs #{@config["host_ip"]}:/#{volume_name} #{mount_point}`
redirect_to '/volume/index'
end