cookbook 'clonezillalive', '= 0.1.3'
clonezillalive (4) Versions 0.1.3 Follow0
Installs/Configures clonezillalive
cookbook 'clonezillalive', '= 0.1.3', :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']['checksum'] = '<checksum_of_2.2.1-25>'
The corresponding md5-checksum of the clonezilla-version to verify the download.
node['clonezilla']['file']
Customized name of the file to download. Defaults to clonezilla-live-#{node['clonezilla']['version']}-amd64.zip
.
node['clonezilla']['url']
Customized download url. Defaults to http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/#{node['clonezilla']['version']}/#{node['clonezilla']['file']}/download
.
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.