[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
package available for python on redhat %pre script
- From: Eric Doutreleau int-evry fr
- To: kickstart-list redhat com
- Subject: package available for python on redhat %pre script
- Date: Fri, 4 Apr 2003 16:16:16 +0200 (CEST)
I m trying to write a %pre script in python to backup my ssh keys
and cfengine keys in pre script and to put them back in place
in post script.
I am a total python novice as i use usually perl which is not
available.
i have written a script but i used a function that is not available
in the %pre section
it s the glob function.
the instruction is
nomfichiers = glob.glob("/proc/ide/h*")
Does someone know howi can do the same thing that will be
acceptable in %pre script?
Is the string library available too?
Thanks in advance for any help
P.S
I will publish my script on this list when it works :)
--
Eric Doutreleau
I.N.T | Tel : +33 (0) 160764687
9 rue Charles Fourier | Fax : +33 (0) 160764321
91011 Evry France | email : Eric Doutreleau int-evry fr
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]