kitchen-libvirtlxc 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/kitchen-libvirtlxc.gemspec +1 -1
- data/lib/kitchen/driver/libvirtlxc.rb +1 -1
- metadata +4 -4
data/kitchen-libvirtlxc.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "kitchen-libvirtlxc"
|
4
|
-
spec.version = "0.
|
4
|
+
spec.version = "0.3.0"
|
5
5
|
spec.authors = ["Adam Jacob"]
|
6
6
|
spec.email = ["adam@opscode.com"]
|
7
7
|
spec.description = %q{Kitchen driver for libvirt LXC containers}
|
@@ -23,7 +23,7 @@ module Kitchen
|
|
23
23
|
run_command("cp -r #{File.join(config[:container_path], config[:base_container])} #{new_container}")
|
24
24
|
run_command("mkdir -p #{new_container}/root/.ssh")
|
25
25
|
run_command("chmod 0700 #{new_container}/root/.ssh")
|
26
|
-
run_command("
|
26
|
+
run_command("cp #{config[:ssh_public_key]} #{new_container}/root/.ssh/authorized_keys")
|
27
27
|
run_command("chmod 0644 #{new_container}/root/.ssh/authorized_keys")
|
28
28
|
fixup_files(state[:container_id], new_container)
|
29
29
|
run_command("virt-install --connect lxc:/// --name #{state[:container_id]} --ram #{config[:customize][:memory]} --vcpu #{config[:customize][:vcpu]} --filesystem #{new_container}/,/ --noautoconsole")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-libvirtlxc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
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-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test-kitchen
|
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
segments:
|
91
91
|
- 0
|
92
|
-
hash: -
|
92
|
+
hash: -4037651048193103984
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash: -
|
101
|
+
hash: -4037651048193103984
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
104
|
rubygems_version: 1.8.25
|