Hello, I'm trying to figure out how to send out mass images using Clonezilla live light server or Clonzilla SE to computers via the mac address or IP address. I've seen post here saying it's possible but no one actually explains how to do it. I have 10 racks with 10 computers in each. Each rack will get 4 different images 1 image to 7 cpu's then 3 individuals images. I'd like to connect all 100 computers and push the images to the computers that need that specific image base on the computers Mac address or IP address. It doesn't have to push to all 100 at the same time. I believe I would create a script but I've never done that before and I also don't know where I would put it once I had a script. Any help would be appreciated. Thank you all!
So you already have some images, just need to restore the image based on the MAC address?
If so, basically you can follow this:
https://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/05_Preseed_options_to_do_job_after_booting
and refer to this:
https://clonezilla.org/fine-print-live-doc.php?path=./clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc#00_live-boot-parameters.doc
Remember to have a way to convert your image name based on the MAC address in the command used for the ocs_live_run.
Steven
Yes I have the images. I've spent some time going through the information you recommended. I'm sorry to say it's over my head. Should I being modifying the script within the document? I so sorry but I'm very lost. It seems like maybe I boot into clonezilla live shell then run an ocs_prerun command?
label Clonezilla live
MENU DEFAULT
MENU HIDE
MENU LABEL Clonezilla live (Default settings, VGA 800x600)
MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 ocs_prerun="mount /dev/sda4 /mnt" ocs_prerun1="mount --bind /mnt/Backup /home/partimag/" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
TEXT HELP
Boot menu for BIOS machine
Clonezilla live version: 2.7.0-10-amd64. (C) 2003-2020, NCHC, Taiwan
* Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
ENDTEXT
It's close to what you want, just you now can only choose the image manually.
So once you use those boot parameters in your Clonezilla live, what are the results? Could you take some photos then post them? It's easier for us to understand that.
Thanks.
Steven