mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openvz|compute] Initial commit
This commit is contained in:
parent
c716044ed3
commit
b9fdff758a
40 changed files with 1349 additions and 1 deletions
21
lib/fog/openvz/requests/compute/mount_server.rb
Normal file
21
lib/fog/openvz/requests/compute/mount_server.rb
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
module Fog
|
||||
module Compute
|
||||
class Openvz
|
||||
class Real
|
||||
|
||||
def mount_server(id, options = {})
|
||||
vzctl("mount",{:ctid => id}.merge(options))
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
class Mock
|
||||
|
||||
def mount_server(id, options = {})
|
||||
Fog::Mock.not_implemented
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue