dev-lxc 1.6.0 → 1.6.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -7
- data/lib/dev-lxc/cli.rb +2 -1
- data/lib/dev-lxc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b24d7c5c69cbd5a1f6f5f82dc2245f4cc2ec3e74
|
4
|
+
data.tar.gz: 90b48e20b8e7e3771ae72415d1f827693af731fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f62b4e0bdad4825dd04720ae27d6e9dee44f15b801becacb91fda99a3e12053016a1e8f377a14b07820f9f1c4b9757127b0d1ca2e17ada503fd0e6b3c853807
|
7
|
+
data.tar.gz: 9c2efad299bb412f8df89019ad76e35df631285e680ddd1044e5e66740f412928c4bbc0ac60a22ad4c738ad629403be17623382026dfdb3aef12789cbcfa5e45
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# dev-lxc Change Log
|
2
2
|
|
3
|
-
## 1.6.
|
3
|
+
## 1.6.1 (2016-04-20)
|
4
|
+
|
5
|
+
* Fix for open-source in "dev-lxc init"
|
6
|
+
|
7
|
+
## 1.6.0 (2016-04-20)
|
4
8
|
|
5
9
|
* Rewrite "dev-lxc init" so its options determine what config gets generated
|
6
10
|
|
@@ -20,20 +24,20 @@
|
|
20
24
|
|
21
25
|
* Make standalone topology the default for Chef Server
|
22
26
|
|
23
|
-
## 1.5.1 (
|
27
|
+
## 1.5.1 (2016-04-15)
|
24
28
|
|
25
|
-
* Add ability to pass options to LXC create calls
|
26
|
-
For example, this lets users pass the following options for more control over the creation process.
|
29
|
+
* Add ability to pass options to LXC create calls
|
30
|
+
For example, this lets users pass the following options for more control over the creation process.
|
27
31
|
https://github.com/lxc/lxc/blob/lxc-2.0.0/templates/lxc-download.in#L200-L207
|
28
32
|
|
29
|
-
## 1.5.0 (
|
33
|
+
## 1.5.0 (2016-04-14)
|
30
34
|
|
31
|
-
* Set lxc.network.hwaddr, if one doesn’t exist, instead of lxc.network.0.hwaddr
|
35
|
+
* Set lxc.network.hwaddr, if one doesn’t exist, instead of lxc.network.0.hwaddr
|
32
36
|
Fixes a bug that caused containers to get identical hwaddrs and IPs
|
33
37
|
|
34
38
|
* Remove chef-sync since it is EOL
|
35
39
|
|
36
|
-
* Refactor removal of container config's mount entries
|
40
|
+
* Refactor removal of container config's mount entries
|
37
41
|
Make sure you are using LXC 2.0 which includes a fix that allows the refactor to work
|
38
42
|
|
39
43
|
* Make mount section in dev-lxc.yml optional
|
data/lib/dev-lxc/cli.rb
CHANGED
@@ -213,6 +213,7 @@ adhoc:
|
|
213
213
|
ipaddress: 10.0.3.207
|
214
214
|
)
|
215
215
|
config = header
|
216
|
+
config += open_source_config if options[:open_source]
|
216
217
|
config += chef_config if options[:chef]
|
217
218
|
config += tiered_chef_config if options[:tiered_chef]
|
218
219
|
config += analytics_config if options[:analytics]
|
@@ -223,7 +224,7 @@ adhoc:
|
|
223
224
|
config_hash = YAML.load(config.gsub(/^#/, ''))
|
224
225
|
config.gsub!(/api_fqdn:\s+#{config_hash['api_fqdn']}/, "api_fqdn: #{unique_string}#{config_hash['api_fqdn']}")
|
225
226
|
config.gsub!(/analytics_fqdn:\s+#{config_hash['analytics_fqdn']}/, "analytics_fqdn: #{unique_string}#{config_hash['analytics_fqdn']}")
|
226
|
-
%w(
|
227
|
+
%w(chef-server analytics compliance supermarket adhoc).each do |server_type|
|
227
228
|
if config_hash[server_type]
|
228
229
|
config_hash[server_type]['servers'].keys.each do |server_name|
|
229
230
|
config.gsub!(/ #{server_name}:/, " #{unique_string}#{server_name}:")
|
data/lib/dev-lxc/version.rb
CHANGED