lxc 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/lib/lxc/container.rb +7 -0
- data/lib/lxc/version.rb +1 -1
- metadata +2 -8
data/README.md
CHANGED
data/lib/lxc/container.rb
CHANGED
@@ -281,6 +281,13 @@ class LXC
|
|
281
281
|
@lxc.exec(*arguments)
|
282
282
|
end
|
283
283
|
|
284
|
+
# Root directory for the containers file system
|
285
|
+
#
|
286
|
+
# @return [String] The root directory for the container.
|
287
|
+
def fs_root
|
288
|
+
File.join('/', 'var', 'lib', 'lxc', self.name, 'rootfs')
|
289
|
+
end
|
290
|
+
|
284
291
|
# Provides a concise string representation of the class
|
285
292
|
# @return [String]
|
286
293
|
def inspect
|
data/lib/lxc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lxc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ztk
|
@@ -180,18 +180,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- - ! '>='
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
|
-
segments:
|
184
|
-
- 0
|
185
|
-
hash: 2954289830468247715
|
186
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
184
|
none: false
|
188
185
|
requirements:
|
189
186
|
- - ! '>='
|
190
187
|
- !ruby/object:Gem::Version
|
191
188
|
version: '0'
|
192
|
-
segments:
|
193
|
-
- 0
|
194
|
-
hash: 2954289830468247715
|
195
189
|
requirements: []
|
196
190
|
rubyforge_project:
|
197
191
|
rubygems_version: 1.8.25
|