NIM script ressource in Perl

Hello,

I am developing a script in Perl for post-installation of AIX LPARS.

But during tests of new lpar installation, it seems that my script is not executed.

First, I tried to declare my perl script in fb_script resource (Customization FB Script to run at first reboot) , with no success (script is not correctly interpreted), and after that, I tried to declare my perl script in script resource (Customization SCRIPT to run after installation), but it is not executed at all.

What's wrong with my Perl script ? Must I declare it in an other type of script resource ? An AIX script of post-installation is it correct ?

Thank you for your help.:slight_smile:

Regards.

Christophe

PS : Sorry for my poor english, I'm french.:stuck_out_tongue:

The first line of the post install or first boot scripts would need to be:

#!/usr/bin/perl

I've never seen anyonewrite this is perl before - most people would use ksh - so I'm not sure if the perl environment is active at the point you try it. you could use a perl hello world to verify I suppose.