@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)