linux_container 0.6 → 0.7
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/CHANGELOG +1 -0
- data/lib/linux_container.rb +2 -2
- data/linux_container.gemspec +2 -2
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/linux_container.rb
CHANGED
@@ -8,7 +8,7 @@ class LinuxContainer
|
|
8
8
|
attr_writer :ip
|
9
9
|
|
10
10
|
def self.all
|
11
|
-
`#{sudo_if_needed} lxc-ls`.lines.map(&:strip).uniq.map {|cname| new(name: cname) }
|
11
|
+
`#{sudo_if_needed} lxc-ls -1`.lines.map(&:strip).uniq.map {|cname| new(name: cname) }
|
12
12
|
end
|
13
13
|
|
14
14
|
def initialize(params={})
|
@@ -39,7 +39,7 @@ class LinuxContainer
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def start_ephemeral
|
42
|
-
args = ['lxc-start-ephemeral','-U','
|
42
|
+
args = ['lxc-start-ephemeral','-U','overlayfs','-u',username,'-o',name]
|
43
43
|
logfile_path = bg_execute(*args)
|
44
44
|
newname = nil
|
45
45
|
while newname.nil?
|
data/linux_container.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "linux_container"
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.7"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Andrew Snow"]
|
9
|
-
s.date = "2013-03-
|
9
|
+
s.date = "2013-03-16"
|
10
10
|
s.description = "Ruby gem for ephemeral LXC linux containers"
|
11
11
|
s.email = "andrew@modulus.org"
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "README.md", "lib/linux_container.rb"]
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: linux_container
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: '0.
|
5
|
+
version: '0.7'
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Andrew Snow
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Ruby gem for ephemeral LXC linux containers
|
15
15
|
email: andrew@modulus.org
|