I'm trying to setup my PXE server to boot machine into CloneZilla Live with "preseeded" information. My images are stored on a Linux based server, and I use SSH to transfer the images to the machines.
Every time I start up Clonezilla I have go to through the same steps, filling out all the ssh info, accepting the host key check, etc. I want to "preseed", or change the settings pre-defaulted in the CloneZilla distribution. But I don't want to preset the image that I'll be either restoring, or making. I just want to preset/preseed the settings for SSH.
I have already tried many different settings, and I have not been able to figure out how to get this to work. When I use the settings below it does mount the mount, but continues with the wizard, and in the wizard it asks me where I'm getting my images from, as though it wasn't presetup.
This is what I'm using right now. Please advise on how to adjust this, if this is even possible.
Group,
I'm trying to setup my PXE server to boot machine into CloneZilla Live with "preseeded" information. My images are stored on a Linux based server, and I use SSH to transfer the images to the machines.
SSH Server:
IP: 192.168.1.23
Username: cz
Home: /home/cz
Every time I start up Clonezilla I have go to through the same steps, filling out all the ssh info, accepting the host key check, etc. I want to "preseed", or change the settings pre-defaulted in the CloneZilla distribution. But I don't want to preset the image that I'll be either restoring, or making. I just want to preset/preseed the settings for SSH.
I have already tried many different settings, and I have not been able to figure out how to get this to work. When I use the settings below it does mount the mount, but continues with the wizard, and in the wizard it asks me where I'm getting my images from, as though it wasn't presetup.
This is what I'm using right now. Please advise on how to adjust this, if this is even possible.
LABEL Clonezilla1
MENU LABEL Clonezilla (Repo on Sirius)
KERNEL images/clonezilla/live/vmlinuz
APPEND initrd=images/clonezilla/live/initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="en_US.UTF-8" vga=788 nosplash noprompt ocs_prerun="sshfs cz@192.168.1.23:/home/cz /home/partimage" fetch=http://192.168.1.23/images/clonezilla/live/filesystem.squashfs
Much Thanks!
Knight.
You should replace
ocs_live_run="ocs-live-general"
with
ocs_live_run="ocs-sr ... restoredisk ask_user"
Replace the green command like:
http://clonezilla.org/clonezilla-live/doc/02_Restore_disk_image/images/ocs-10-img-restore-command-prompt.png
But change the image name as "ask_user"
Ref:
http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/05_Preseed_options_to_do_job_after_booting
and
http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc
Steven.