Opened 15 years ago

Last modified 10 years ago

#336 reopened enhancement

Pre-mondorestore script option

Reported by: Dominic Owned by: Bruno Cornec
Priority: normal Milestone:
Component: mondo Version: 2.2.8
Severity: normal Keywords: script pre
Cc:

Description

i.e. mondoarchive command line option to specify a script to run after the end of the boot and before any mondorestore action.

For example, to start telnetd (if my other feature request is granted :-)).

It would work like -P post-nuke option (IMO '-P' should also be '-post' and there should be new '-pre').

Change History (4)

comment:1 by Bruno Cornec, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in rev [2255]. Will be in 2.2.9.

comment:2 by Dominic, 15 years ago

Resolution: fixed
Status: closedreopened

Bruno, hope you see this message. Thanks for making the change!

Does this change allow specifying --pre on the mondoarchive command line or only pre= and post= at the mindi boot prompt? (I only see changes in mindi here.) It would be good to be able to boot mondorestore without any local access (no monitor, keyboard) and still use a pre script.

in reply to:  2 comment:3 by Bruno Cornec, 15 years ago

Milestone: 2.2.92.2.10

Replying to dominic:

Does this change allow specifying --pre on the mondoarchive command line or only pre= and post= at the mindi boot prompt? (I only see changes in mindi here.) It would be good to be able to boot mondorestore without any local access (no monitor, keyboard) and still use a pre script.

No additional option available for mondoarchive yet. This was done for a PXE install, where that modifciation is easy. I'll see how to add it to the CLI as well. At the start of mindi in ADDITIONAL_BOOT_PARAMS you can also add it.

comment:4 by Bruno Cornec, 10 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.