Opened 8 years ago

Last modified 4 years ago

#336 reopened enhancement

Pre-mondorestore script option

Reported by: dominic Owned by: bruno
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 Changed 8 years ago by bruno

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 follow-up: Changed 8 years ago by dominic

  • Resolution fixed deleted
  • Status changed from closed to reopened

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.

comment:3 in reply to: ↑ 2 Changed 8 years ago by bruno

  • Milestone changed from 2.2.9 to 2.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 Changed 4 years ago by bruno

  • Milestone 3.1.0 deleted

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.