Stuck on "running post init scripts" when trying to boot into pxe client
-
hello,
I’ve been struggling with this issue for 4 days and I’m stuck. I’m trying to boot any system up into the FOG client and Its getting stuck when trying to run post init scripts. Where are the logs that can help me troubleshoot this? Or has anyone solved anything like this before? Any help is greatly appreciated.
I have FOG running my DHCP server as well as TFTP etc.
Side note: I’m running on 1.4.4 now but had the same issue on 1.4 RC as well which prompted the upgrade
-
-
@mikegriffin said in Stuck on “running post init scripts” when trying to boot into pxe client:
Where are the logs that can help me troubleshoot this?
If you want logging in your post-init or post-download scripts, you have to build that into them yourself. Simple things like echoing variables and echoing where you are would probably help you.
-
I made no post init scripts. I’m assuming this would be in /images/dev/postinitscripts/fog.postinit
here are the contents:
/images/dev/postinitscripts$ cat fog.postinit #!/bin/bash ## This file serves as a starting point to call your custom pre-imaging/post init loading scripts. ## <SCRIPTNAME> should be changed to the script you're planning to use. ## Syntax of post init scripts are #. ${postinitpath}<SCRIPTNAME>
-
restarting the server fixed it. Oy.
-
oh, and I had to +x the permissions on fog.postinit. It looks like FOG was unable to execute the empty script.
-
So is this solved?
With the postinit scripts messed up, deployment/capture will probably not happen. The postinit scripts are run first then tasking starts.