At the end of the cloning process I am trying to get it to poweroff the machine (so it's a fully automated clone from startup to shutdown) but I can't get it to auto poweroff the machine even with the "-p poweroff" option above.
Is there an alternative parameter to specify to force a poweroff? At the moment, the cloning finishes and shows "Now you can choose to: (0) Poweroff (1) Reboot (2) Enter command line prompt (3) Start over" and waits for user input.
Many thanks for any guidance,
FlyFox.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for asking this question.
We will add an option to ocs-onthefly about this. For the time being, you can use the boot parameter "ocs_live_postrun", e.g.
ocs_live_postrun="poweroff"
Please let us know the results.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your suggestion of ocs_live_postrun="poweroff" did not work. It still comes up with the 4 options to select at the end of the clone process. Do you have any other suggestion I can try?
FlyFox
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, cool.
In the future version of ocs-onthefly, an option "-pa" option will be added so that it's easier to deal with this issue.
Thanks for asking this question again.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I'm currently booting Clonezilla of a USB stick to run the following command to clone the disk:
At the end of the cloning process I am trying to get it to poweroff the machine (so it's a fully automated clone from startup to shutdown) but I can't get it to auto poweroff the machine even with the "-p poweroff" option above.
I note from this page http://drbl.sourceforge.net/one4all/techrpt.php?c=ocs-onthefly&t=Clone%20disk%20or%20partition%20on-the-fly that the -p option is actually for the port number.
Is there an alternative parameter to specify to force a poweroff? At the moment, the cloning finishes and shows "Now you can choose to: (0) Poweroff (1) Reboot (2) Enter command line prompt (3) Start over" and waits for user input.
Many thanks for any guidance,
FlyFox.
Thanks for asking this question.
We will add an option to ocs-onthefly about this. For the time being, you can use the boot parameter "ocs_live_postrun", e.g.
ocs_live_postrun="poweroff"
Please let us know the results.
Steven.
Hi Steven,
Your suggestion of ocs_live_postrun="poweroff" did not work. It still comes up with the 4 options to select at the end of the clone process. Do you have any other suggestion I can try?
FlyFox
Hi Steven,
I eventually found the command that worked:
Many thanks!
FF.
OK, cool.
In the future version of ocs-onthefly, an option "-pa" option will be added so that it's easier to deal with this issue.
Thanks for asking this question again.
Steven.