lxc 0.2.10 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/lxc/container.rb +8 -1
- data/lib/lxc/version.rb +1 -1
- metadata +2 -2
data/lib/lxc/container.rb
CHANGED
@@ -305,7 +305,14 @@ class LXC
|
|
305
305
|
#
|
306
306
|
# @return [String] The root directory for the container.
|
307
307
|
def fs_root
|
308
|
-
File.join(
|
308
|
+
File.join(self.container_root, 'rootfs')
|
309
|
+
end
|
310
|
+
|
311
|
+
# Directory for the container
|
312
|
+
#
|
313
|
+
# @return [String] The directory for the container.
|
314
|
+
def container_root
|
315
|
+
File.join('/', 'var', 'lib', 'lxc', self.name)
|
309
316
|
end
|
310
317
|
|
311
318
|
# Provides a concise string representation of the class
|
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.2.
|
4
|
+
version: 0.2.11
|
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-06-
|
12
|
+
date: 2013-06-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ztk
|