foreman_bootdisk 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tx/config +8 -0
- data/CHANGES.md +8 -0
- data/README.md +8 -4
- data/Rakefile +105 -0
- data/app/controllers/bootdisk/disks_controller.rb +3 -1
- data/app/models/concerns/bootdisk/config_template_ext.rb +8 -6
- data/app/models/concerns/bootdisk/host_ext.rb +3 -0
- data/app/services/bootdisk/renderer.rb +3 -0
- data/app/views/bootdisk/host.erb +1 -1
- data/lib/bootdisk/engine.rb +9 -1
- data/lib/bootdisk/version.rb +1 -1
- data/locale/Makefile +6 -0
- data/locale/bootdisk.pot +78 -0
- data/locale/en_GB/bootdisk.po +106 -0
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7d9d5c7d08c4fbdd36d96a0ba1da3f6c2100f3f
|
4
|
+
data.tar.gz: 3a57d414fd37afbaa302efa93995455a0fedc1da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04039858a9dde5442a877d40f845e159f21cdcde8972149d4e0c8cb540dc6a3221d5b18f6d36a14610604993e0f942d50ed65bd805bebb5a104652b9411785d6
|
7
|
+
data.tar.gz: 38e34c53e31d0b330db0433ac64abf87b620586b2b951f577b5ba36ee138c57e874cf003203d2d902f5aed2874d788621dc0f8242a017a1ee9d364795ca6d1b5
|
data/.tx/config
ADDED
data/CHANGES.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v2.0.2
|
4
|
+
* add MAC address to iPXE chain request for NAT (#3562, Jon Fautley)
|
5
|
+
* raise friendly error if safemode is enabled (#4184, #2948)
|
6
|
+
* add i18n framework and en_GB translation (#3981)
|
7
|
+
* fix filename of generic ISO image
|
8
|
+
* fix template deletion blocking
|
9
|
+
* update instructions for Debian
|
10
|
+
|
3
11
|
## v2.0.1
|
4
12
|
* use genisoimage instead of mkisofs by default, added setting to control
|
5
13
|
* fix translation extraction of setting descriptions
|
data/README.md
CHANGED
@@ -21,6 +21,8 @@ The gem name is "foreman_bootdisk". Run `foreman-rake db:migrate`,
|
|
21
21
|
RPM users can install the "ruby193-rubygem-foreman_bootdisk" or
|
22
22
|
"rubygem-foreman_bootdisk" packages.
|
23
23
|
|
24
|
+
Debian users can install the "ruby-foreman-bootdisk" package.
|
25
|
+
|
24
26
|
## Dependencies
|
25
27
|
|
26
28
|
* iPXE images are required
|
@@ -61,17 +63,20 @@ The templates used on the boot disks themselves are read-only so they can be
|
|
61
63
|
updated in new versions of the plugin. To customise, copy the contents to a
|
62
64
|
new template and set the name in Administer>Settings>Bootdisk.
|
63
65
|
|
64
|
-
An OS iPXE provisioning template is required,
|
65
|
-
|
66
|
+
An OS iPXE provisioning template is required, see the list below for the name.
|
67
|
+
Ensure the OSes are ticked under the Associations tab and that the
|
66
68
|
iPXE template is selected under the Templates tab on the OS.
|
67
69
|
|
70
|
+
* Kickstart (EL/Fedora) OSes, use "Kickstart default iPXE"
|
71
|
+
* Preseed (Debian/Ubuntu) OSes, use "Preseed default iPXE"
|
72
|
+
|
68
73
|
Lastly, the OS provision template (i.e. kickstart/preseed) should provide the
|
69
74
|
static IP details required to configure the OS. For a kickstart file, the
|
70
75
|
following configuration will do this:
|
71
76
|
|
72
77
|
network --bootproto <%= @static ? "static" : "dhcp" %> --hostname <%= @host %> <%= "--ip=#{@host.ip} --netmask=#{@host.subnet.mask} --gateway=#{@host.subnet.gateway} --nameserver=#{@host.subnet.dns_primary},#{@host.subnet.dns_secondary}" if @static %>
|
73
78
|
|
74
|
-
Foreman's default kickstart
|
79
|
+
Foreman's default kickstart and preseed files are ready to use.
|
75
80
|
|
76
81
|
## Available images
|
77
82
|
|
@@ -157,7 +162,6 @@ Report issues on the Redmine project: [foreman_bootdisk](http://projects.thefore
|
|
157
162
|
|
158
163
|
## Known issues
|
159
164
|
|
160
|
-
* No Debian guidance or templates
|
161
165
|
* No SELinux policy support
|
162
166
|
|
163
167
|
# Copyright
|
data/Rakefile
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rake'
|
5
|
+
require 'fileutils'
|
6
|
+
|
7
|
+
task :default => :test
|
8
|
+
|
9
|
+
PLUGIN_NAME = "bootdisk"
|
10
|
+
ENGINE_DIR = File.expand_path('..', __FILE__)
|
11
|
+
FOREMAN_DIR = '.foreman_app'
|
12
|
+
|
13
|
+
ENV['TEXTDOMAIN'] = PLUGIN_NAME
|
14
|
+
import "#{FOREMAN_DIR}/Rakefile" if File.exists? "#{FOREMAN_DIR}/Rakefile"
|
15
|
+
|
16
|
+
namespace :setup do
|
17
|
+
desc "Download latest foreman core devel source and install dependencies"
|
18
|
+
task :foreman_prepare do
|
19
|
+
foreman_repo = 'https://github.com/theforeman/foreman.git'
|
20
|
+
foreman_gemfile = File.join(FOREMAN_DIR, "Gemfile")
|
21
|
+
unless File.exists?(foreman_gemfile)
|
22
|
+
puts "Foreman source code is not present at #{FOREMAN_DIR}"
|
23
|
+
puts "Downloading latest Foreman development branch into #{FOREMAN_DIR}..."
|
24
|
+
FileUtils.mkdir_p(FOREMAN_DIR)
|
25
|
+
|
26
|
+
unless system("git clone --depth 1 #{foreman_repo} #{FOREMAN_DIR}")
|
27
|
+
puts "Error while getting latest Foreman code from #{foreman_repo} into #{FOREMAN_DIR}"
|
28
|
+
fail
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
settings_file = "#{FOREMAN_DIR}/config/settings.yaml"
|
33
|
+
unless File.exists?(settings_file)
|
34
|
+
puts 'Preparing settings file'
|
35
|
+
FileUtils.copy("#{settings_file}.example", settings_file)
|
36
|
+
end
|
37
|
+
|
38
|
+
db_file = "#{FOREMAN_DIR}/config/database.yml"
|
39
|
+
unless File.exists?(db_file)
|
40
|
+
puts 'Preparing database file'
|
41
|
+
FileUtils.copy("#{db_file}.example", db_file)
|
42
|
+
end
|
43
|
+
|
44
|
+
["#{ENGINE_DIR}/.bundle/config", "#{FOREMAN_DIR}/.bundle/config"].each do |bundle_file|
|
45
|
+
unless File.exists?(bundle_file)
|
46
|
+
FileUtils.mkdir_p(File.dirname(bundle_file))
|
47
|
+
puts 'Preparing bundler configuration'
|
48
|
+
File.open(bundle_file, 'w') { |f| f << <<FILE }
|
49
|
+
---
|
50
|
+
BUNDLE_WITHOUT: console:development:fog:gce:jsonp:libvirt:mysql:mysql2:ovirt:postgresql:vmware
|
51
|
+
FILE
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
local_gemfile = "#{FOREMAN_DIR}/bundler.d/Gemfile.local.rb"
|
56
|
+
unless File.exist?(local_gemfile)
|
57
|
+
File.open(local_gemfile, 'w') { |f| f << <<GEMFILE }
|
58
|
+
gem "facter"
|
59
|
+
GEMFILE
|
60
|
+
end
|
61
|
+
|
62
|
+
puts 'Installing dependencies...'
|
63
|
+
unless system('bundle install')
|
64
|
+
fail
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
task :db_prepare do
|
69
|
+
unless File.exists?(FOREMAN_DIR)
|
70
|
+
puts <<MESSAGE
|
71
|
+
Foreman source code not prepared. Run
|
72
|
+
|
73
|
+
rake setup:foreman_prepare
|
74
|
+
|
75
|
+
to download foreman source and its dependencies
|
76
|
+
MESSAGE
|
77
|
+
fail
|
78
|
+
end
|
79
|
+
|
80
|
+
# once we are Ruby19 only, switch to block variant of cd
|
81
|
+
pwd = FileUtils.pwd
|
82
|
+
FileUtils.cd(FOREMAN_DIR)
|
83
|
+
unless system('bundle exec rake db:test:prepare RAILS_ENV=test')
|
84
|
+
puts "Migrating database first"
|
85
|
+
system('bundle exec rake db:migrate db:schema:dump') || fail
|
86
|
+
end
|
87
|
+
FileUtils.cd(pwd)
|
88
|
+
end
|
89
|
+
|
90
|
+
task :all => [:foreman_prepare, :db_prepare]
|
91
|
+
end
|
92
|
+
|
93
|
+
namespace :test do
|
94
|
+
task :set_loadpath do
|
95
|
+
%w[lib test].each do |dir|
|
96
|
+
$:.unshift(File.expand_path(dir, ENGINE_DIR))
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
task :all => ['setup:db_prepare', 'test:set_loadpath'] do
|
101
|
+
Dir.glob('test/**/*_test.rb') { |f| require f.sub('test/','') unless f.include? '.foreman_app/' }
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
task :test => 'test:all'
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'uri'
|
2
|
+
|
1
3
|
module Bootdisk
|
2
4
|
class DisksController < ::ApplicationController
|
3
5
|
def generic_iso
|
@@ -10,7 +12,7 @@ module Bootdisk
|
|
10
12
|
end
|
11
13
|
|
12
14
|
Bootdisk::ISOGenerator.new(tmpl).generate do |iso|
|
13
|
-
send_data File.read(iso), :filename => "bootdisk_#{Setting[:foreman_url]}.iso"
|
15
|
+
send_data File.read(iso), :filename => "bootdisk_#{URI.parse(Setting[:foreman_url]).host}.iso"
|
14
16
|
end
|
15
17
|
end
|
16
18
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Bootdisk::ConfigTemplateExt
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
|
-
BOOTDISK_TMPLS = ['Boot disk iPXE - host', '
|
6
|
+
BOOTDISK_TMPLS = ['Boot disk iPXE - host', 'Boot disk iPXE - generic host']
|
7
7
|
|
8
8
|
included do
|
9
9
|
before_destroy :bootdisk_destroy?
|
@@ -12,8 +12,8 @@ module Bootdisk::ConfigTemplateExt
|
|
12
12
|
|
13
13
|
def bootdisk_destroy?
|
14
14
|
return true if ARGV.find { |a| a.start_with? "db:migrate" }
|
15
|
-
|
16
|
-
|
15
|
+
bootdisk_add_error if BOOTDISK_TMPLS.include?(name)
|
16
|
+
false
|
17
17
|
end
|
18
18
|
|
19
19
|
def bootdisk_readonly
|
@@ -29,8 +29,10 @@ module Bootdisk::ConfigTemplateExt
|
|
29
29
|
|
30
30
|
# allow the user to associate it, just not change the content
|
31
31
|
other_attrs = c.keys.find { |f| !['template_combinations', 'template_associations'].include? f }
|
32
|
-
if BOOTDISK_TMPLS.include?(name_was) && other_attrs
|
33
|
-
|
34
|
-
|
32
|
+
bootdisk_add_error if BOOTDISK_TMPLS.include?(name_was) && other_attrs
|
33
|
+
end
|
34
|
+
|
35
|
+
def bootdisk_add_error
|
36
|
+
errors.add(:base, _("Template is read-only as it's supplied in foreman_bootdisk. Please copy it to a new template to customize."))
|
35
37
|
end
|
36
38
|
end
|
@@ -6,6 +6,9 @@ module Bootdisk::HostExt
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def bootdisk_template_render
|
9
|
+
# Waiting on additional whitelisted items, #2948
|
10
|
+
Setting[:safemode_render] && raise(::Foreman::Exception.new(N_('Bootdisk is not supported with safemode rendering, please disable safemode_render under Adminster>Settings')))
|
11
|
+
|
9
12
|
@host = self
|
10
13
|
pxe_render(bootdisk_template.template)
|
11
14
|
end
|
@@ -4,6 +4,9 @@ module Bootdisk
|
|
4
4
|
include Rails.application.routes.url_helpers
|
5
5
|
|
6
6
|
def generic_template_render
|
7
|
+
# Waiting on additional whitelisted items, #2948
|
8
|
+
Setting[:safemode_render] && raise(::Foreman::Exception.new(N_('Bootdisk is not supported with safemode rendering, please disable safemode_render under Adminster>Settings')))
|
9
|
+
|
7
10
|
tmpl = ConfigTemplate.find_by_name(Setting[:bootdisk_generic_host_template]) || raise(::Foreman::Exception.new(N_('Unable to find template specified by %s setting'), 'bootdisk_generic_host_template'))
|
8
11
|
@host = Struct.new(:token).new(nil)
|
9
12
|
unattended_render(tmpl.template)
|
data/app/views/bootdisk/host.erb
CHANGED
@@ -37,7 +37,7 @@ set domain <%= @host.domain.to_s %>
|
|
37
37
|
|
38
38
|
# Chainload from Foreman rather than embedding OS info here, so the behaviour
|
39
39
|
# is entirely dynamic.
|
40
|
-
chain <%= foreman_url("iPXE") %>
|
40
|
+
chain <%= (u = URI.parse(foreman_url("iPXE")); u.query ="#{u.query}&mac=#{@host.mac}"; u.to_s) %>
|
41
41
|
exit 0
|
42
42
|
|
43
43
|
:no_nic
|
data/lib/bootdisk/engine.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
require 'foreman_bootdisk'
|
2
|
+
require 'fast_gettext'
|
3
|
+
require 'gettext_i18n_rails'
|
2
4
|
|
3
5
|
module Bootdisk
|
4
6
|
class Engine < ::Rails::Engine
|
@@ -16,7 +18,7 @@ module Bootdisk
|
|
16
18
|
app.config.paths['db/migrate'] += Bootdisk::Engine.paths['db/migrate'].existent
|
17
19
|
end
|
18
20
|
|
19
|
-
initializer '
|
21
|
+
initializer 'foreman_bootdisk.register_plugin', :after=> :finisher_hook do |app|
|
20
22
|
Foreman::Plugin.register :foreman_bootdisk do
|
21
23
|
requires_foreman '>= 1.4'
|
22
24
|
|
@@ -29,6 +31,12 @@ module Bootdisk
|
|
29
31
|
end
|
30
32
|
end
|
31
33
|
|
34
|
+
initializer 'foreman_bootdisk.register_gettext', :after => :load_config_initializers do |app|
|
35
|
+
locale_dir = File.join(File.expand_path('../../..', __FILE__), 'locale')
|
36
|
+
locale_domain = 'bootdisk'
|
37
|
+
Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
|
38
|
+
end
|
39
|
+
|
32
40
|
config.to_prepare do
|
33
41
|
begin
|
34
42
|
ConfigTemplate.send(:include, Bootdisk::ConfigTemplateExt)
|
data/lib/bootdisk/version.rb
CHANGED
data/locale/Makefile
ADDED
data/locale/bootdisk.pot
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
# foreman_bootdisk
|
2
|
+
#
|
3
|
+
# This file is distributed under the same license as foreman_bootdisk.
|
4
|
+
#
|
5
|
+
#, fuzzy
|
6
|
+
msgid ""
|
7
|
+
msgstr ""
|
8
|
+
"Project-Id-Version: version 0.0.1\n"
|
9
|
+
"Report-Msgid-Bugs-To: \n"
|
10
|
+
"POT-Creation-Date: 2014-02-13 12:18+0000\n"
|
11
|
+
"PO-Revision-Date: 2014-02-13 12:09+0000\n"
|
12
|
+
"Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
|
13
|
+
"Language-Team: Foreman Team <foreman-dev@googlegroups.com>\n"
|
14
|
+
"Language: \n"
|
15
|
+
"MIME-Version: 1.0\n"
|
16
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
17
|
+
"Content-Transfer-Encoding: 8bit\n"
|
18
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
19
|
+
|
20
|
+
msgid "Boot disk"
|
21
|
+
msgstr ""
|
22
|
+
|
23
|
+
msgid "Bootdisk is not supported with safemode rendering, please disable safemode_render under Adminster>Settings"
|
24
|
+
msgstr ""
|
25
|
+
|
26
|
+
msgid "Command to generate ISO image, use genisoimage or mkisofs"
|
27
|
+
msgstr ""
|
28
|
+
|
29
|
+
msgid "Failed to render boot disk template: %s"
|
30
|
+
msgstr ""
|
31
|
+
|
32
|
+
msgid "Generic image"
|
33
|
+
msgstr ""
|
34
|
+
|
35
|
+
msgid "Host '%s' image"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgid "Host has no IP address defined"
|
39
|
+
msgstr ""
|
40
|
+
|
41
|
+
msgid "Host has no domain defined"
|
42
|
+
msgstr ""
|
43
|
+
|
44
|
+
msgid "Host has no subnet defined"
|
45
|
+
msgstr ""
|
46
|
+
|
47
|
+
msgid "ISO build failed"
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgid "ISO hybrid conversion failed"
|
51
|
+
msgstr ""
|
52
|
+
|
53
|
+
msgid "Path to directory containing iPXE images"
|
54
|
+
msgstr ""
|
55
|
+
|
56
|
+
msgid "Path to directory containing syslinux images"
|
57
|
+
msgstr ""
|
58
|
+
|
59
|
+
msgid "Please ensure the ipxe-bootimgs and syslinux packages are installed."
|
60
|
+
msgstr ""
|
61
|
+
|
62
|
+
msgid "Subnet (%s) has no gateway defined"
|
63
|
+
msgstr ""
|
64
|
+
|
65
|
+
msgid "Subnet (%s) has no primary DNS server defined"
|
66
|
+
msgstr ""
|
67
|
+
|
68
|
+
msgid "Template is read-only as it's supplied in foreman_bootdisk. Please copy it to a new template to customize."
|
69
|
+
msgstr ""
|
70
|
+
|
71
|
+
msgid "Unable to find template specified by %s setting"
|
72
|
+
msgstr ""
|
73
|
+
|
74
|
+
msgid "iPXE template to use for generic host boot disks"
|
75
|
+
msgstr ""
|
76
|
+
|
77
|
+
msgid "iPXE template to use for host-specific boot disks"
|
78
|
+
msgstr ""
|
@@ -0,0 +1,106 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
+
# This file is distributed under the same license as the PACKAGE package.
|
4
|
+
#
|
5
|
+
# Translators:
|
6
|
+
# domcleal <dcleal@redhat.com>, 2014
|
7
|
+
msgid ""
|
8
|
+
msgstr ""
|
9
|
+
"Project-Id-Version: Foreman\n"
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
11
|
+
"POT-Creation-Date: 2014-02-13 12:09+0000\n"
|
12
|
+
"PO-Revision-Date: 2014-02-13 12:14+0000\n"
|
13
|
+
"Last-Translator: domcleal <dcleal@redhat.com>\n"
|
14
|
+
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/foreman/language/en_GB/)\n"
|
15
|
+
"MIME-Version: 1.0\n"
|
16
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
17
|
+
"Content-Transfer-Encoding: 8bit\n"
|
18
|
+
"Language: en_GB\n"
|
19
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20
|
+
|
21
|
+
#: app/services/bootdisk/iso_generator.rb:25
|
22
|
+
msgid "Please ensure the ipxe-bootimgs and syslinux packages are installed."
|
23
|
+
msgstr "Please ensure the ipxe-bootimgs and syslinux packages are installed."
|
24
|
+
|
25
|
+
#: app/services/bootdisk/iso_generator.rb:34
|
26
|
+
msgid "ISO build failed"
|
27
|
+
msgstr "ISO build failed"
|
28
|
+
|
29
|
+
#: app/services/bootdisk/iso_generator.rb:39
|
30
|
+
msgid "ISO hybrid conversion failed"
|
31
|
+
msgstr "ISO hybrid conversion failed"
|
32
|
+
|
33
|
+
#: app/services/bootdisk/renderer.rb:8
|
34
|
+
#: app/models/concerns/bootdisk/host_ext.rb:10
|
35
|
+
msgid ""
|
36
|
+
"Bootdisk is not supported with safemode rendering, please disable "
|
37
|
+
"safemode_render under Adminster>Settings"
|
38
|
+
msgstr "Bootdisk is not supported with safemode rendering, please disable safemode_render under Adminster>Settings"
|
39
|
+
|
40
|
+
#: app/services/bootdisk/renderer.rb:10
|
41
|
+
#: app/models/concerns/bootdisk/host_ext.rb:5
|
42
|
+
msgid "Unable to find template specified by %s setting"
|
43
|
+
msgstr "Unable to find template specified by %s setting"
|
44
|
+
|
45
|
+
#: app/controllers/bootdisk/disks_controller.rb:9
|
46
|
+
#: app/controllers/concerns/bootdisk/hosts_controller_ext.rb:13
|
47
|
+
msgid "Failed to render boot disk template: %s"
|
48
|
+
msgstr "Failed to render boot disk template: %s"
|
49
|
+
|
50
|
+
#: app/models/setting/bootdisk.rb:11
|
51
|
+
msgid "Path to directory containing iPXE images"
|
52
|
+
msgstr "Path to directory containing iPXE images"
|
53
|
+
|
54
|
+
#: app/models/setting/bootdisk.rb:12
|
55
|
+
msgid "Path to directory containing syslinux images"
|
56
|
+
msgstr "Path to directory containing syslinux images"
|
57
|
+
|
58
|
+
#: app/models/setting/bootdisk.rb:13
|
59
|
+
msgid "iPXE template to use for host-specific boot disks"
|
60
|
+
msgstr "iPXE template to use for host-specific boot disks"
|
61
|
+
|
62
|
+
#: app/models/setting/bootdisk.rb:14
|
63
|
+
msgid "iPXE template to use for generic host boot disks"
|
64
|
+
msgstr "iPXE template to use for generic host boot disks"
|
65
|
+
|
66
|
+
#: app/models/setting/bootdisk.rb:15
|
67
|
+
msgid "Command to generate ISO image, use genisoimage or mkisofs"
|
68
|
+
msgstr "Command to generate ISO image, use genisoimage or mkisofs"
|
69
|
+
|
70
|
+
#: app/models/concerns/bootdisk/config_template_ext.rb:33
|
71
|
+
msgid ""
|
72
|
+
"Template is read-only as it's supplied in foreman_bootdisk. Please copy it "
|
73
|
+
"to a new template to customize."
|
74
|
+
msgstr "Template is read-only as it's supplied in foreman_bootdisk. Please copy it to a new template to customise."
|
75
|
+
|
76
|
+
#: app/helpers/concerns/bootdisk/hosts_helper_ext.rb:11
|
77
|
+
msgid "Boot disk"
|
78
|
+
msgstr "Boot disk"
|
79
|
+
|
80
|
+
#: app/helpers/concerns/bootdisk/hosts_helper_ext.rb:12
|
81
|
+
msgid "Host '%s' image"
|
82
|
+
msgstr "Host '%s' image"
|
83
|
+
|
84
|
+
#: app/helpers/concerns/bootdisk/hosts_helper_ext.rb:13
|
85
|
+
msgid "Generic image"
|
86
|
+
msgstr "Generic image"
|
87
|
+
|
88
|
+
#: app/views/bootdisk/host.erb:8
|
89
|
+
msgid "Host has no IP address defined"
|
90
|
+
msgstr "Host has no IP address defined"
|
91
|
+
|
92
|
+
#: app/views/bootdisk/host.erb:9
|
93
|
+
msgid "Host has no subnet defined"
|
94
|
+
msgstr "Host has no subnet defined"
|
95
|
+
|
96
|
+
#: app/views/bootdisk/host.erb:10
|
97
|
+
msgid "Host has no domain defined"
|
98
|
+
msgstr "Host has no domain defined"
|
99
|
+
|
100
|
+
#: app/views/bootdisk/host.erb:11
|
101
|
+
msgid "Subnet (%s) has no gateway defined"
|
102
|
+
msgstr "Subnet (%s) has no gateway defined"
|
103
|
+
|
104
|
+
#: app/views/bootdisk/host.erb:12
|
105
|
+
msgid "Subnet (%s) has no primary DNS server defined"
|
106
|
+
msgstr "Subnet (%s) has no primary DNS server defined"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
@@ -20,9 +20,11 @@ extra_rdoc_files:
|
|
20
20
|
- LICENSE
|
21
21
|
- README.md
|
22
22
|
files:
|
23
|
+
- .tx/config
|
23
24
|
- CHANGES.md
|
24
25
|
- LICENSE
|
25
26
|
- README.md
|
27
|
+
- Rakefile
|
26
28
|
- app/controllers/bootdisk/disks_controller.rb
|
27
29
|
- app/controllers/concerns/bootdisk/hosts_controller_ext.rb
|
28
30
|
- app/controllers/concerns/bootdisk/unattended_controller_ext.rb
|
@@ -45,6 +47,9 @@ files:
|
|
45
47
|
- lib/bootdisk/version.rb
|
46
48
|
- lib/foreman_bootdisk.rb
|
47
49
|
- lib/tasks/bootdisk.rake
|
50
|
+
- locale/Makefile
|
51
|
+
- locale/bootdisk.pot
|
52
|
+
- locale/en_GB/bootdisk.po
|
48
53
|
homepage: http://github.com/theforeman/foreman_bootdisk
|
49
54
|
licenses:
|
50
55
|
- GPL-3
|
@@ -55,17 +60,17 @@ require_paths:
|
|
55
60
|
- lib
|
56
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
57
62
|
requirements:
|
58
|
-
- -
|
63
|
+
- - '>='
|
59
64
|
- !ruby/object:Gem::Version
|
60
65
|
version: '0'
|
61
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
67
|
requirements:
|
63
|
-
- -
|
68
|
+
- - '>='
|
64
69
|
- !ruby/object:Gem::Version
|
65
70
|
version: '0'
|
66
71
|
requirements: []
|
67
72
|
rubyforge_project:
|
68
|
-
rubygems_version: 2.
|
73
|
+
rubygems_version: 2.0.6
|
69
74
|
signing_key:
|
70
75
|
specification_version: 4
|
71
76
|
summary: Create boot disks to provision hosts with Foreman
|