@lcis said in Trying to access /images on deploy-debug:
For curiosity, why couldnāt I mount $storage ?
While debugging your post install script, use debugPause to put a break point in your code. Put an echo statement in just before the debugPause to say āStop me hereā. So when you are debug executing your deployment, when you get to āStop me hereā press ctrl-C to exit the fog script. Now run the set command and confirm where $storage is pointing to.
Also side note, I always set $variable using ${variable} so the bash interpeter really knows what I want as a variable.
When you hit the ctrl-c that should be the exact state of the machine. The /images directory on the FOS target computer should already be mapped to the FOG server /images directory at this point (during the execution of the postinstallscript)