cookbook 'clonezillalive', '~> 0.1.4'
clonezillalive (4) Versions 0.1.4 Follow0
Installs/Configures clonezillalive
cookbook 'clonezillalive', '~> 0.1.4', :supermarket
knife supermarket install clonezillalive
knife supermarket download clonezillalive
clonezillalive Cookbook
Deploy Clonezilla-Live for network-booting.
Clonezilla then allows to save and restore images of hard-disks.
If the image is for windows and prepared for example with sysprep, it can be
used to install several machines over and over again.
Requirements
The development of this cookbook happens on debian wheezy (7.x), which makes
this the supported platform. It should work on ubuntu too.
cookbooks
-
pxe
: For the booting and creation of the pxe-menu -
nfs
: For the image store
Attributes
node['clonezilla']['append_line'] = 'boot=live config noswap nolocales edd=on nomodeset noprompt'
Basic appendline to boot. Will be extended by the keyboard-layout and the specific options to run clonezilla.
node['clonezilla']['kbdlayout'] = 'us'
Set the keyboard-layout to use in clonezilla.
node['clonezilla']['serverip'] = nil
If the server is reachable via two (or more) interfaces, use the given address
for the clients to boot from. If not given, node['ipaddress'] is used.
node['clonezilla']['debug_boot'] = false
By default clonezilla boots with quiet
added to the appendline. With this attribute set to true
, quiet
is replaced by nosplash
.
node['clonezilla']['version'] = '2.2.1-25'
The version of clonezilla to install.
node['clonezilla']['architecture'] = 'i686-pae'
The processor architecture to use for the clonezilla netboot. Can be different from the servers own architecture. Clonezilla has images for 'i486', 'i686-pae' and 'amd64'.
node['clonezilla']['checksum'] = '<checksum_of_2.2.1-25>'
The corresponding md5-checksum of the clonezilla-version to verify the download. Unless you change the version for clonezilla to a version not yet incorporated in this recipe, there should be no need to set this attribute.
node['clonezilla']['file']
Customized name of the file to download. Defaults to clonezilla-live-#{node['clonezilla']['version']}-{#node['clonezilla']['architecture']}.zip
. Unless you want to download a custom clonezilla (from a custom location) there should be no need to set this attribute.
node['clonezilla']['url']
Customized download url. Defaults to http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/#{node['clonezilla']['version']}/#{node['clonezilla']['file']}/download
. Unless you want to download a custom clonezilla (from a custom location) there should be no need to set this attribute.
Usage
clonezillalive::default
This recipe does nothing. Its there to play it safe if I want to add providers
and resources to this cookbook.
clonezillalive::server
This recipe grabs the clonezilla live image and unpacks the files needed for
network-boot. Then it installs tftp and syslinux and configures pxe-booting for
the clonezilla image.
Contributing
Standard opensource cookbook rules apply:
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Run
rubocop
andfoodcritic .
and try to have not to many issues. - <del>Write tests for your change (if applicable)</del>
- <del>Run the tests, ensuring they all pass</del>
- Submit a Pull Request using Github
License and Authors
Authors: Arnold Krille (for bcs kommunikationslösungen)
Contributors: Brent Stephens (Outloud Industries, LLC)
Dependent cookbooks
nfs >= 0.0.0 |
pxe >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.4 failed this metric
FC064: Ensure issues_url is set in metadata: clonezillalive/metadata.rb:1
FC065: Ensure source_url is set in metadata: clonezillalive/metadata.rb:1
FC066: Ensure chef_version is set in metadata: clonezillalive/metadata.rb:1
FC069: Ensure standardized license defined in metadata: clonezillalive/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: clonezillalive/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.4 failed this metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.4 failed this metric
FC064: Ensure issues_url is set in metadata: clonezillalive/metadata.rb:1
FC065: Ensure source_url is set in metadata: clonezillalive/metadata.rb:1
FC066: Ensure chef_version is set in metadata: clonezillalive/metadata.rb:1
FC069: Ensure standardized license defined in metadata: clonezillalive/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: clonezillalive/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.4 failed this metric
FC065: Ensure source_url is set in metadata: clonezillalive/metadata.rb:1
FC066: Ensure chef_version is set in metadata: clonezillalive/metadata.rb:1
FC069: Ensure standardized license defined in metadata: clonezillalive/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: clonezillalive/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.4 passed this metric
Testing File Metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.4 failed this metric
0.1.4 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number