Opened 17 years ago

Closed 14 years ago

#153 closed enhancement (fixed)

pre+post script & answer file

Reported by: email.ahmedkamal@… Owned by: Bruno Cornec
Priority: normal Milestone: 4.0.0
Component: mondo Version: 2.2.1
Severity: major Keywords: pre post script answer file
Cc:

Description

The process of creating the restoration disks should offer the following capabilities:

  1. A pre-execution script. This will be run *before* the restoration starts. This should be started automatically, if the CD was built with "-H". If not, the user should be prompted to run fully automatic restore script. This typically will be used to custom-partition the disks, perform any complex soft raid/LVM setup needed. This should also be able to edit CD files such as the mountlist.txt. This script should be able to start the scriptable restoration script described next.
  1. Mondorestore should have a scriptable invocation method. This can be accomplished using an answer file, or at least (maybe that's better) by offering command line options for each question asked during restoration. The target is to perform restoration from a script with full option control.
  1. post-restore script functionality should be provided. Thinking about this, and if the pre-script is the one that starts mondorestore with options/answer-file, then the postscript might not be needed, as the pre-script will continue after mondorestore has done its magic! So the functionality is there.

Change History (3)

comment:1 by Bruno Cornec, 16 years ago

Command line options have been asked to mondorestore Probably doesn't solve all request mentioned in #2, but it's a a start :-)

comment:2 by Bruno Cornec, 14 years ago

Status: newassigned

pre and post scripts have been added in 2.2.9.

Answer file is still not there, and won't probably be during 2.2.x lifetime.

comment:3 by Bruno Cornec, 14 years ago

Resolution: fixed
Status: assignedclosed

The answer file issue is now followed in bug report #380

Note: See TracTickets for help on using tickets.