I've gone through google trying to find this answer, but can't seem to get it working. I'm creating a custom-ocs much like the sample, but I want to be able to display a list of images already saved in the restore option. The Full Clonezilla live does this now, but I couldn't track down through the many script files how this was accomplished. What is the dialog --menu syntax used to get this to work to display the directory content of images? Thanks
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can check the function get_existing_disk_image in /opt/drbl/sbin/ocs-functions.
However, maybe it's easier you can try to use the command "/opt/drbl/sbin/ocs-sr -x" with some more input parameters. For more info about the parameters, check "/opt/drbl/sbin/ocs-sr --help".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've gone through google trying to find this answer, but can't seem to get it working. I'm creating a custom-ocs much like the sample, but I want to be able to display a list of images already saved in the restore option. The Full Clonezilla live does this now, but I couldn't track down through the many script files how this was accomplished. What is the dialog --menu syntax used to get this to work to display the directory content of images? Thanks
Greg
You can check the function get_existing_disk_image in /opt/drbl/sbin/ocs-functions.
However, maybe it's easier you can try to use the command "/opt/drbl/sbin/ocs-sr -x" with some more input parameters. For more info about the parameters, check "/opt/drbl/sbin/ocs-sr --help".