python custom command interpreter?

Mitko Haralanov mitko at qlogic.com
Thu Aug 21 02:02:51 CEST 2008


On Wed, 20 Aug 2008 15:19:19 -0400
"joey boggs" <jboggs7 at gmail.com> wrote:

> In the end I'd like to be able to run a custom interpreter and just feed it
> one command and a directory. The end result in the kickstart something like
> this:
> 
> %post --interpreter #!/usr/bin/myinterpreter
> DROP /tmp/directory
> DROP /tmp/directory2

You don't need a custom interpreter to do this. Just use shell commands:

%post
rm -rf /tmp/directory
rm -rf /tmp/directory2

will do the trick (if I am understanding correctly).

-- 
Mitko Haralanov					 mitko at qlogic.com
Senior Software Engineer			     650.934.8064
HSG InfiniBand Engineering		    http://www.qlogic.com

==========================================
 Fry: Lucy Liu-bot, if I don't survive the corn, I want you to know
that I love you as much as a man can love a computerized image of a
gorgeous celebrity, which it turns out is a lot.



More information about the Python-list mailing list