matthewtodd-captain 0.1.2 → 0.1.3
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/Rakefile +1 -1
- data/captain.gemspec +3 -3
- data/lib/captain/application.rb +3 -0
- data/resources/isolinux.cfg +7 -5
- metadata +3 -3
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ else
|
|
14
14
|
require 'shoe'
|
15
15
|
end
|
16
16
|
|
17
|
-
Shoe.tie('captain', '0.1.
|
17
|
+
Shoe.tie('captain', '0.1.3', 'Builds an Ubuntu installation CD just as you like it.') do |spec|
|
18
18
|
spec.requirements = ['mkisofs']
|
19
19
|
spec.add_development_dependency 'cucumber'
|
20
20
|
end
|
data/captain.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{captain}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Matthew Todd"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-09-05}
|
10
10
|
s.default_executable = %q{captain}
|
11
11
|
s.email = %q{matthew.todd@gmail.com}
|
12
12
|
s.executables = ["captain"]
|
13
13
|
s.extra_rdoc_files = ["README.rdoc"]
|
14
14
|
s.files = ["Rakefile", "captain.gemspec", "README.rdoc", "bin/captain", "examples/chef_client.rb", "features/installer_image.feature", "features/steps", "features/steps/captain_steps.rb", "features/support", "features/support/env.rb", "features/support/helpers.rb", "lib/captain", "lib/captain/application.rb", "lib/captain/image.rb", "lib/captain/package.rb", "lib/captain/package_list.rb", "lib/captain/release.rb", "lib/captain/remote.rb", "lib/captain/resource.rb", "lib/captain.rb", "resources/disk_base_components.erb", "resources/disk_base_installable.erb", "resources/disk_cd_type.erb", "resources/disk_info.erb", "resources/disk_udeb_include.erb", "resources/isolinux.bin", "resources/isolinux.cfg", "resources/preseed.seed.erb", "resources/release.erb", "resources/release_component.erb"]
|
15
|
-
s.rdoc_options = ["--main", "README.rdoc", "--title", "captain-0.1.
|
15
|
+
s.rdoc_options = ["--main", "README.rdoc", "--title", "captain-0.1.3", "--inline-source"]
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
s.requirements = ["mkisofs"]
|
18
18
|
s.rubygems_version = %q{1.3.5}
|
data/lib/captain/application.rb
CHANGED
@@ -55,6 +55,9 @@ module Captain
|
|
55
55
|
Resource.template('disk_udeb_include.erb', template_binding).copy_to(working_directory, '.disk', 'udeb_include')
|
56
56
|
end
|
57
57
|
|
58
|
+
# FIXME adjust isolinux.cfg to provide a boot menu, defaulting to first
|
59
|
+
# hard disk, just in case the machine's configured to prefer booting from
|
60
|
+
# the CD.
|
58
61
|
def create_boot_loader
|
59
62
|
Resource.file('isolinux.bin').copy_to(working_directory, 'isolinux', 'isolinux.bin')
|
60
63
|
Resource.file('isolinux.cfg').copy_to(working_directory, 'isolinux', 'isolinux.cfg')
|
data/resources/isolinux.cfg
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# Automatically boot the default label after 10 (= 100 10ths of a) second
|
2
|
+
timeout 100
|
3
|
+
default normal
|
4
|
+
say Type install at the boot: prompt to boot the installer.
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
+
label normal
|
7
|
+
localboot -1
|
6
8
|
|
7
|
-
label
|
9
|
+
label install
|
8
10
|
kernel /install/vmlinuz
|
9
11
|
append file=/cdrom/install/preseed.seed initrd=/install/initrd.gz quiet locale=en_US console-setup/layoutcode=us netcfg/choose_interface=auto --
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matthewtodd-captain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Todd
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-05 00:00:00 -07:00
|
13
13
|
default_executable: captain
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -79,7 +79,7 @@ rdoc_options:
|
|
79
79
|
- --main
|
80
80
|
- README.rdoc
|
81
81
|
- --title
|
82
|
-
- captain-0.1.
|
82
|
+
- captain-0.1.3
|
83
83
|
- --inline-source
|
84
84
|
require_paths:
|
85
85
|
- lib
|