foreman_bootdisk 2.0.7 → 2.0.8
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/CHANGES.md +4 -0
- data/README.md +1 -5
- data/db/migrate/20140522185700_change_templatekind_to_bootdisk.rb +6 -2
- data/lib/bootdisk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7dc3b370c05e00255c22c4ea339b2a713738b506
|
|
4
|
+
data.tar.gz: 55c4f0a822d7c2b37109d1335a7b05e0e2598d70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9cc91f4d6a7ae13a3296e322149163325ec94d42e07cabf7a2201efcbc7cae83b3799370e395740039acde09052a75bf899d3b1a94b02da300df4a3ed0f90fd
|
|
7
|
+
data.tar.gz: e4dda5788b2eb5f80e36d63bf3e4945733bf2173cb509fa32c674491cf99d57819a46c43625c23858550a536092d2c877059164a588e42610b6f16ac4c846fee
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
|
@@ -183,13 +183,9 @@ Ensure the device name is correct to avoid writing over the wrong disk.
|
|
|
183
183
|
|
|
184
184
|
Report issues on the Redmine project: [foreman_bootdisk](http://projects.theforeman.org/projects/bootdisk/issues/new)
|
|
185
185
|
|
|
186
|
-
## Known issues
|
|
187
|
-
|
|
188
|
-
* No SELinux policy support
|
|
189
|
-
|
|
190
186
|
# Copyright
|
|
191
187
|
|
|
192
|
-
Copyright (c) 2013 Red Hat Inc.
|
|
188
|
+
Copyright (c) 2013-2014 Red Hat Inc.
|
|
193
189
|
|
|
194
190
|
This program is free software: you can redistribute it and/or modify
|
|
195
191
|
it under the terms of the GNU General Public License as published by
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
class ChangeTemplatekindToBootdisk < ActiveRecord::Migration
|
|
2
2
|
def self.up
|
|
3
3
|
kind = TemplateKind.find_or_create_by_name('Bootdisk')
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
tmpl_h = Setting.find_by_name('bootdisk_host_template').try(:value)
|
|
6
|
+
tmpl_g = Setting.find_by_name('bootdisk_generic_host_template').try(:value)
|
|
7
|
+
|
|
8
|
+
(ConfigTemplate.unscoped.where('name LIKE ?', '%Boot disk%') |
|
|
9
|
+
ConfigTemplate.unscoped.where(:name => [tmpl_h, tmpl_g].compact)).each do |tmpl|
|
|
6
10
|
tmpl.update_attribute(:template_kind_id, kind.id)
|
|
7
11
|
end
|
|
8
12
|
end
|
data/lib/bootdisk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_bootdisk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dominic Cleal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-05-
|
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Plugin for Foreman that creates iPXE-based boot disks to provision hosts
|
|
14
14
|
without the need for PXE infrastructure.
|