Please ensure that "awk" is installed and located at the location called for by 
the first line of those scripts.

Check the package list that you're using in your OS image and explicitly add 
"gawk.x86_64".
Sometimes dependencies change and things that used to get implicitly installed 
are no longer installed.


If that's ok, ensure that /usr/bin/awk is executable. Also ensure that the 
allowcred.awk file doesn't have Windows line endings and that it has executable 
bits set.


> On August 22, 2018 at 2:45 PM Jonathan Casco <jca...@fiu.edu> wrote:
> 
> 
>     Hello,
> 
>      
> 
>     I am working on updating our stateless boot images and during my testing 
> with a new CentOS 7.5 image the remoteshell postscript fails causing the ssh 
> keys to not be copied over correctly. This same postscript works for our 
> CentOS 7.1 image as well as various CentOS 6 images.
> 
>      
> 
>     The error I am receiving is:
> 
>     /xcatpost/remoteshell: line 97: allowcred.awk: command not found
> 
>     /xcatpost/remoteshell: line 115: getcredentials.awk: command not found
> 
>     /xcatpost/remoteshell: line 150: getcredentials.awk: command not found
> 
>      
> 
>     When it completes the log shows that is finishes with a 0 exit code.
> 
>     Other postscripts complete without problems but this postscript failing 
> does prevent some custom scripts from completing.
> 
>      
> 
>     What could be causing this inconsistency between CentOS versions?
> 
>      
> 
>     I am running xcat 2.13.3 on the master node.
> 
>     -----------------------
> 
>     Jonathan Casco
> 
>     HPC System Administrator
> 
>      
> 
 

----------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to