how to auto answer yes questions in ocs-iso
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
most ocs utils have a --batch mode option that will prevent the app asking any question and asume the default answer
sudo ocs-iso -g en_US.UTF-8 -t -k NONE -e "..........." AZZZZZZ
so i would like to have the software continue there and not stop waiting for input.
Are you sre you want to continue ? yes i will like my scrpt to continue and not stop there
Copying the system files to working dir... This might take a few minutes... done!
Estimated target ISO file "clonezilla-live-AZZZZZZ.iso" size: 10962 MB
[1;33mThe target ISO file is too large to fit on a DVD disk.
[0;39mAre you sure you want to continue?
[y/N] Abort!
It's recommend to follow this:
http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/04_Create_Recovery_Clonezilla
and enter expert mode, disselect the option "-c", and select the option "--batch". Then the created iso will be unattended mode.
Steven
worked perfectley, thanks again this can be closed