Opened 18 years ago
Closed 15 years ago
#153 closed enhancement (fixed)
pre+post script & answer file
Reported by: | 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:
- 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.
- 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.
- 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 , 16 years ago
comment:2 by , 15 years ago
Status: | new → assigned |
---|
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 , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The answer file issue is now followed in bug report #380
Note:
See TracTickets
for help on using tickets.
Command line options have been asked to mondorestore Probably doesn't solve all request mentioned in #2, but it's a a start :-)